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

Add the infrastructure to request fields from the server.

This will be used to read input files so add a new file attribute mode to define whether data is written or read from a file.

Currently the data is not actually read and random data is transfered for those fields in read mode.

File:
1 edited

Legend:

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

    r597 r598  
    105105         void solveAllInheritance(bool apply=true); 
    106106         void findEnabledFiles(void); 
     107         void findEnabledReadModeFiles(void); 
    107108         void closeAllFile(void); 
    108109         void updateCalendar(int step); 
     
    110111         void solveAllRefOfEnabledFields(bool sendToServer); 
    111112         void buildAllExpressionOfEnabledFields(); 
     113         void startPrefetchingOfEnabledReadModeFiles(); 
     114         void checkPrefetchingOfEnabledReadModeFiles(); 
    112115         void findFieldsWithReadAccess(void); 
    113116         void solveAllRefOfFieldsWithReadAccess(); 
     
    187190         boost::shared_ptr<CCalendar>   calendar; 
    188191 
    189          // List of all enabled files (files on which fields are written) 
     192         // List of all enabled files (files on which fields are written or read) 
    190193         std::vector<CFile*> enabledFiles; 
     194         // List of all enabled files in read mode (files on which fields are read) 
     195         std::vector<CFile*> enabledReadModeFiles; 
    191196 
    192197         // List of all fields whose instant data is accessible from the public API 
Note: See TracChangeset for help on using the changeset viewer.