Changeset 1358 for XIOS/dev/XIOS_DEV_CMIP6/src/node/file.cpp
- Timestamp:
- 12/06/17 08:34:41 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/node/file.cpp
r1318 r1358 854 854 855 855 /*! 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 /*! 856 868 Prefetching the data for enabled fields read from file. 857 869 */ … … 867 879 868 880 /*! 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 /*! 869 899 Do all post timestep operations for enabled fields in read mode: 870 900 - Prefetch the data read from file when needed 871 - Check that the data excepted from server has been received872 901 */ 873 902 void CFile::doPostTimestepOperationsForEnabledReadModeFields(void) … … 879 908 for (int i = 0; i < size; ++i) 880 909 { 881 this->enabledFields[i]->checkForLateDataFromServer();882 910 this->enabledFields[i]->sendReadDataRequestIfNeeded(); 883 911 }
Note: See TracChangeset
for help on using the changeset viewer.