Changeset 1983


Ignore:
Timestamp:
11/26/20 15:56:56 (3 years ago)
Author:
yushan
Message:

trunk : workflow graph bug fixed for field with once attribute

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/field.cpp

    r1920 r1983  
    11241124      
    11251125     const bool buildWorkflowGraph = (!build_workflow_graph.isEmpty() && build_workflow_graph == true); 
    1126  
     1126     if(buildWorkflowGraph && this->operation.getValue()=="once")  
     1127     { 
     1128       CDuration tmp_dur = 0; 
     1129       tmp_dur.timestep = 1; 
     1130       this->build_workflow_graph_start.setValue(tmp_dur) ; 
     1131       this->build_workflow_graph_end.setValue(tmp_dur) ; 
     1132     } 
    11271133      
    11281134     const double defaultValue  = detectMissingValues ? default_value : (!default_value.isEmpty() ? default_value : 0.0); 
Note: See TracChangeset for help on using the changeset viewer.