Ignore:
Timestamp:
12/06/17 08:34:41 (7 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/dev/XIOS_DEV_CMIP6/src/node/file.cpp

    r1318 r1358  
    854854 
    855855   /*! 
     856    * Post-process the filter graph for each active field. 
     857    */ 
     858   void CFile::postProcessFilterGraph() 
     859   { 
     860     int size = this->enabledFields.size(); 
     861     for (int i = 0; i < size; ++i) 
     862     { 
     863       this->enabledFields[i]->checkIfMustAutoTrigger(); 
     864     } 
     865   } 
     866 
     867   /*! 
    856868     Prefetching the data for enabled fields read from file. 
    857869   */ 
     
    867879 
    868880   /*! 
     881     Do all pre timestep operations for enabled fields in read mode: 
     882      - Check that the data excepted from server has been received 
     883      - Check if some filters must auto-trigger 
     884   */ 
     885   void CFile::doPreTimestepOperationsForEnabledReadModeFields(void) 
     886   { 
     887     if (mode.isEmpty() || mode.getValue() != mode_attr::read) 
     888       return; 
     889 
     890     int size = this->enabledFields.size(); 
     891     for (int i = 0; i < size; ++i) 
     892     { 
     893       this->enabledFields[i]->checkForLateDataFromServer(); 
     894       this->enabledFields[i]->autoTriggerIfNeeded(); 
     895     } 
     896   } 
     897 
     898   /*! 
    869899     Do all post timestep operations for enabled fields in read mode: 
    870900      - Prefetch the data read from file when needed 
    871       - Check that the data excepted from server has been received 
    872901   */ 
    873902   void CFile::doPostTimestepOperationsForEnabledReadModeFields(void) 
     
    879908     for (int i = 0; i < size; ++i) 
    880909     { 
    881        this->enabledFields[i]->checkForLateDataFromServer(); 
    882910       this->enabledFields[i]->sendReadDataRequestIfNeeded(); 
    883911     } 
Note: See TracChangeset for help on using the changeset viewer.