Ignore:
Timestamp:
05/30/21 23:30:01 (3 years ago)
Author:
yushan
Message:

temporal commit for merging graph into XIOS_coupling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_graph/src/transformation/axis_algorithm/axis_algorithm_inverse.cpp

    r2030 r2137  
    5252TRY 
    5353{ 
     54  axisDestination->checkAttributes() ; 
    5455  if (axisDestination->n_glo.getValue() != axisSource->n_glo.getValue()) 
    5556  { 
     
    6263  auto& transMap = this->transformationMapping_; 
    6364 
    64   int globalIndexSize = axisSource->index.numElements(); 
    65   for (int idx = 0; idx < globalIndexSize; ++idx) 
    66   { 
    67     //transMap[axisDestination->index(idx)] = globalIndexSize-axisDestination->index(idx)-1; 
    68     transMap[axisSource->index(idx)] = globalIndexSize-axisSource->index(idx)-1; 
     65  int globalIndexSize = axisDestination->n_glo.getValue(); 
     66  for (int idx = 0; idx < axisDestination->index.numElements(); ++idx) 
     67  { 
     68    transMap[axisDestination->index(idx)] = globalIndexSize-axisDestination->index(idx)-1; 
    6969  } 
    7070 
Note: See TracChangeset for help on using the changeset viewer.