Changeset 1358 for XIOS/trunk/src/node/file.cpp
- Timestamp:
- 12/06/17 08:34:41 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/file.cpp
r1318 r1358 770 770 771 771 /*! 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 /*! 772 784 Prefetching the data for enabled fields read from file. 773 785 */ … … 783 795 784 796 /*! 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: 787 798 - 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) 790 802 { 791 803 if (mode.isEmpty() || mode.getValue() != mode_attr::read) … … 796 808 { 797 809 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 { 798 826 this->enabledFields[i]->sendReadDataRequestIfNeeded(); 799 827 }
Note: See TracChangeset
for help on using the changeset viewer.