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/dev/XIOS_DEV_CMIP6/src/node/context.cpp

    r1357 r1358  
    665665    { 
    666666      buildFilterGraphOfFieldsWithReadAccess(); 
     667      postProcessFilterGraph(); 
    667668    } 
    668669     
     
    782783   } 
    783784 
     785   void CContext::postProcessFilterGraph() 
     786   { 
     787     int size = enabledFiles.size(); 
     788     for (int i = 0; i < size; ++i) 
     789     { 
     790        enabledFiles[i]->postProcessFilterGraph(); 
     791     } 
     792   } 
     793 
    784794   void CContext::startPrefetchingOfEnabledReadModeFiles() 
    785795   { 
     
    788798     { 
    789799        enabledReadModeFiles[i]->prefetchEnabledReadModeFields(); 
     800     } 
     801   } 
     802 
     803   void CContext::doPreTimestepOperationsForEnabledReadModeFiles() 
     804   { 
     805     int size = enabledReadModeFiles.size(); 
     806     for (int i = 0; i < size; ++i) 
     807     { 
     808        enabledReadModeFiles[i]->doPreTimestepOperationsForEnabledReadModeFields(); 
    790809     } 
    791810   } 
     
    18371856      if (prevStep < step) 
    18381857      { 
     1858        if (hasClient && !hasServer) // For now we only use server level 1 to read data 
     1859        { 
     1860          doPreTimestepOperationsForEnabledReadModeFiles(); 
     1861        } 
     1862 
    18391863        info(50) << "updateCalendar : before : " << calendar->getCurrentDate() << endl; 
    18401864        calendar->update(step); 
Note: See TracChangeset for help on using the changeset viewer.