Ignore:
Timestamp:
04/15/20 13:23:39 (4 years ago)
Author:
ymipsl
Message:

Some update...

YM

Location:
XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/axis_algorithm_interpolate.cpp

    r1784 r1869  
    313313  { 
    314314    CField* field = CField::get(coordinate_); 
    315     CGrid* grid = field->grid; 
     315    CGrid* grid = field->getGrid(); 
    316316 
    317317    std::vector<CDomain*> domListP = grid->getDomains(); 
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/grid_transformation.cpp

    r1784 r1869  
    246246  } 
    247247 
    248   tmpGridDestination_ = CGrid::createGrid(domainDst, axisDst, scalarDst, elementOrder);   
     248  tmpGridDestination_ = CGrid::createGrid(domainDst, axisDst, scalarDst, elementOrder);  
     249  tmpGridDestination_-> solveElementsRefInheritance() ; // ym not sure  
    249250  tempGridDests_.push_back(tmpGridDestination_); 
    250251} 
     
    292293        domain->domain_ref.setValue(domListDestP[elementIndex]->getId()); 
    293294        domain->solveRefInheritance(true); 
    294         domain->checkAttributesOnClient(); 
     295        domain->checkAttributes(); 
    295296        domainSrc.push_back(domain); 
    296297      } 
     
    300301        axis->axis_ref.setValue(axisListDestP[elementIndex]->getId()); 
    301302        axis->solveRefInheritance(true); 
    302         axis->checkAttributesOnClient(); 
     303        axis->checkAttributes(); 
    303304        axisSrc.push_back(axis);  
    304305      } 
     
    308309        scalar->scalar_ref.setValue(scalarListDestP[elementIndex]->getId()); 
    309310        scalar->solveRefInheritance(true); 
    310         scalar->checkAttributesOnClient(); 
     311        scalar->checkAttributes(); 
    311312        scalarSrc.push_back(scalar); 
    312313      } 
     
    334335 
    335336  gridSource_ = CGrid::createGrid(domainSrc, axisSrc, scalarSrc, tmpGridDestination_->axis_domain_order);   
     337  gridSource_->solveElementsRefInheritance() ; // ym not sure 
    336338 
    337339  tempGridSrcs_.push_back(gridSource_); 
Note: See TracChangeset for help on using the changeset viewer.