Ignore:
Timestamp:
03/09/17 18:31:07 (7 years ago)
Author:
yushan
Message:

Preperation for merge from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan/src/node/grid.cpp

    r1037 r1070  
    166166   void CGrid::checkAttributesAfterTransformation() 
    167167   { 
    168       int myRank; 
    169       MPI_Comm_rank(MPI_COMM_WORLD, &myRank); 
    170  
    171       setAxisList();  //printf("myRank = %d, setAxisList OK\n", myRank); 
    172       std::vector<CAxis*> axisListP = this->getAxis();  //printf("myRank = %d, this->getAxis OK\n", myRank); 
     168       
     169      setAxisList();   
     170      std::vector<CAxis*> axisListP = this->getAxis();  
    173171      if (!axisListP.empty()) 
    174172      { 
     
    183181            axisPositionInGrid_.push_back(idx); 
    184182            ++idx; 
    185             //printf("myRank = %d, axisPositionInGrid_.push_back OK\n", myRank); 
     183             
    186184          } 
    187185          else if (2 == elementDimension) idx += 2; 
     
    191189        { 
    192190          axisListP[i]->checkAttributesOnClientAfterTransformation(globalDim_,axisPositionInGrid_[i]); 
    193           //printf("myRank = %d, axisListP[%d/%d]->checkAttributesOnClientAfterTransformation OK\n", myRank, i, axisListP.size()); 
    194         } 
    195       } 
    196  
    197       setDomainList(); //printf("myRank = %d, setDomainList OK\n", myRank); 
    198       std::vector<CDomain*> domListP = this->getDomains(); //printf("myRank = %d, this->getDomains OK\n", myRank); 
     191        } 
     192      } 
     193 
     194      setDomainList();  
     195      std::vector<CDomain*> domListP = this->getDomains(); 
    199196      if (!domListP.empty()) 
    200197      { 
    201198        for (int i = 0; i < domListP.size(); ++i) 
    202199        { 
    203           //printf("myRank = %d, start domListP[%d]->checkAttributesOnClientAfterTransformation\n", myRank, i); 
    204200          domListP[i]->checkAttributesOnClientAfterTransformation(); 
    205           //printf("myRank = %d, domListP[%d]->checkAttributesOnClientAfterTransformation OK\n", myRank, i); 
    206201        } 
    207202      } 
Note: See TracChangeset for help on using the changeset viewer.