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/context.cpp

    r1357 r1358  
    438438      buildFilterGraphOfFieldsWithReadAccess(); 
    439439      this->solveAllRefOfEnabledFields(true); 
     440      postProcessFilterGraph(); 
    440441    } 
    441442 
     
    505506   } 
    506507 
     508   void CContext::postProcessFilterGraph() 
     509   { 
     510     int size = enabledFiles.size(); 
     511     for (int i = 0; i < size; ++i) 
     512     { 
     513        enabledFiles[i]->postProcessFilterGraph(); 
     514     } 
     515   } 
     516 
    507517   void CContext::startPrefetchingOfEnabledReadModeFiles() 
    508518   { 
     
    511521     { 
    512522        enabledReadModeFiles[i]->prefetchEnabledReadModeFields(); 
     523     } 
     524   } 
     525 
     526   void CContext::doPreTimestepOperationsForEnabledReadModeFiles() 
     527   { 
     528     int size = enabledReadModeFiles.size(); 
     529     for (int i = 0; i < size; ++i) 
     530     { 
     531        enabledReadModeFiles[i]->doPreTimestepOperationsForEnabledReadModeFields(); 
    513532     } 
    514533   } 
     
    12061225      if (prevStep < step) 
    12071226      { 
     1227        if (hasClient) 
     1228        { 
     1229          doPreTimestepOperationsForEnabledReadModeFiles(); 
     1230        } 
     1231 
    12081232        info(50) << "updateCalendar : before : " << calendar->getCurrentDate() << endl; 
    12091233        calendar->update(step); 
Note: See TracChangeset for help on using the changeset viewer.