Ignore:
Timestamp:
10/24/13 10:12:44 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: moving model processor stuff to analyses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/modules/ModelProcessorx/ElementsAndVerticesPartitioning.cpp

    r16334 r16539  
    1919        int i;
    2020
    21         int my_rank;
    22         int num_procs;
     21        const int RIFTINFOSIZE = 12;
    2322        int numberofelements2d;
    2423        int numberofvertices2d;
     
    4140
    4241        /*Get my_rank:*/
    43         my_rank   = IssmComm::GetRank();
    44         num_procs = IssmComm::GetSize();
     42        int my_rank   = IssmComm::GetRank();
     43        int num_procs = IssmComm::GetSize();
    4544
    4645        /*Fetch parameters: */
    47 
    4846        iomodel->Constant(&numrifts,RiftsNumriftsEnum);
    4947
    5048        /*First, check that partitioning has not yet been carryed out. Just check whether my_elements pointers is not already assigned a value: */
    51         if (*pmy_elements)return;
     49        if(*pmy_elements)return;
    5250
    5351        /*Number of vertices per elements, needed to correctly retrieve data: */
Note: See TracChangeset for help on using the changeset viewer.