Ignore:
Timestamp:
12/06/17 08:34:41 (6 years ago)
Author:
rlacroix
Message:

Support reentrant workflows and workflows with temporal integration for fields read from files.

File:
1 edited

Legend:

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

    r1318 r1358  
    770770 
    771771   /*! 
     772    * Post-process the filter graph for each active field. 
     773    */ 
     774   void CFile::postProcessFilterGraph() 
     775   { 
     776     int size = this->enabledFields.size(); 
     777     for (int i = 0; i < size; ++i) 
     778     { 
     779       this->enabledFields[i]->checkIfMustAutoTrigger(); 
     780     } 
     781   } 
     782 
     783   /*! 
    772784     Prefetching the data for enabled fields read from file. 
    773785   */ 
     
    783795 
    784796   /*! 
    785      Do all post timestep operations for enabled fields in read mode: 
    786       - Prefetch the data read from file when needed 
     797     Do all pre timestep operations for enabled fields in read mode: 
    787798      - Check that the data excepted from server has been received 
    788    */ 
    789    void CFile::doPostTimestepOperationsForEnabledReadModeFields(void) 
     799      - Check if some filters must auto-trigger 
     800   */ 
     801   void CFile::doPreTimestepOperationsForEnabledReadModeFields(void) 
    790802   { 
    791803     if (mode.isEmpty() || mode.getValue() != mode_attr::read) 
     
    796808     { 
    797809       this->enabledFields[i]->checkForLateDataFromServer(); 
     810       this->enabledFields[i]->autoTriggerIfNeeded(); 
     811     } 
     812   } 
     813 
     814   /*! 
     815     Do all post timestep operations for enabled fields in read mode: 
     816      - Prefetch the data read from file when needed 
     817   */ 
     818   void CFile::doPostTimestepOperationsForEnabledReadModeFields(void) 
     819   { 
     820     if (mode.isEmpty() || mode.getValue() != mode_attr::read) 
     821       return; 
     822 
     823     int size = this->enabledFields.size(); 
     824     for (int i = 0; i < size; ++i) 
     825     { 
    798826       this->enabledFields[i]->sendReadDataRequestIfNeeded(); 
    799827     } 
Note: See TracChangeset for help on using the changeset viewer.