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/filter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/filter/source_filter.cpp

    r1794 r1869  
    3434    packet->status = CDataPacket::NO_ERROR; 
    3535 
    36     packet->data.resize(grid->storeIndex_client_.numElements());     
     36    packet->data.resize(grid->getStoreIndex_client().numElements());     
    3737     
    3838    if (compression) 
     
    8585            << " expected " << grid->storeIndex_fromSrv_.size() << " chunks but " << data.size() << " were given."); 
    8686 
    87     packet->data.resize(grid->storeIndex_client_.numElements()); 
     87    packet->data.resize(grid->getStoreIndex_client().numElements()); 
    8888    std::map<int, CArray<double, 1> >::const_iterator it, itEnd = data.end(); 
    8989    for (it = data.begin(); it != itEnd; it++) 
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/filter/spatial_transform_filter.cpp

    r1794 r1869  
    174174        gridTransformation->computeAll(dataAuxInputs, packet->timestamp); 
    175175      } 
    176       packet->data.resize(gridTransformation->getGridDestination()->storeIndex_client_.numElements()); 
     176      packet->data.resize(gridTransformation->getGridDestination()->getDataSize()); 
    177177      if (0 != packet->data.numElements()) 
    178178        (packet->data)(0) = defaultValue; 
Note: See TracChangeset for help on using the changeset viewer.