Ignore:
Timestamp:
05/26/15 16:13:45 (9 years ago)
Author:
rlacroix
Message:

Add a new interface xios_recv_field to get local instant data from a field.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/grid.cpp

    r591 r593  
    519519   } 
    520520 
     521   void CGrid::restoreField_arr 
     522      (const CArray<double, 1>& stored, double * const data) const 
     523   { 
     524      const StdSize size = storeIndex_client.numElements() ; 
     525 
     526      for(StdSize i = 0; i < size; i++) data[storeIndex_client(i)] = stored(i) ; 
     527   } 
     528 
    521529  void CGrid::computeIndexScalarGrid() 
    522530  { 
Note: See TracChangeset for help on using the changeset viewer.