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

Implement reading fields from NetCDF files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/field.hpp

    r598 r599  
    8989         void incrementNStep(void); 
    9090         void resetNStep() ; 
     91         void resetNStepMax(); 
    9192 
    9293         template <int N> bool updateData(const CArray<double, N>&   data); 
     
    138139        static void recvReadDataRequest(CEventServer& event); 
    139140        void recvReadDataRequest(void); 
     141        bool readField(void); 
    140142        static void recvReadDataReady(CEventServer& event); 
    141143        void recvReadDataReady(vector<int> ranks, vector<CBufferIn*> buffers); 
     
    143145        void outputField(CArray<double,2>& fieldOut) ; 
    144146        void outputField(CArray<double,1>& fieldOut) ; 
     147        void inputField(CArray<double,3>& fieldOut); 
     148        void inputField(CArray<double,2>& fieldOut); 
     149        void inputField(CArray<double,1>& fieldOut); 
    145150        void scaleFactorAddOffset(double scaleFactor, double addOffset) ; 
     151        void invertScaleFactorAddOffset(double scaleFactor, double addOffset); 
    146152        void parse(xml::CXMLNode & node) ; 
    147153        CArray<double,1>* getInstantData(void)  ; 
     
    176182         CDuration freq_operation_srv, freq_write_srv; 
    177183 
    178          StdSize nstep; 
     184         StdSize nstep, nstepMax; 
     185         bool isEOF; 
    179186         boost::shared_ptr<CDate>    last_Write, last_operation; 
    180187         boost::shared_ptr<CDate>    lastlast_Write_srv,last_Write_srv, last_operation_srv; 
Note: See TracChangeset for help on using the changeset viewer.