Changeset 2193 for XIOS/dev/dev_ym/XIOS_COUPLING/src/parse_expr
- Timestamp:
- 07/22/21 14:05:58 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/parse_expr/filter_expr_node.cpp
r1869 r2193 41 41 42 42 bool ret=field->buildWorkflowGraph(gc); 43 if(field->build_workflow_graph) thisField.build_workflow_graph.set(field->build_workflow_graph); 43 44 if (ret) outputPin = field->getInstantDataFilter(); // if dependency is complete build the graph other return nullptr 45 44 46 } 45 47 else ERROR("boost::shared_ptr<COutputPin> CFilterFieldExprNode::reduce(CGarbageCollector& gc, CField& thisField) const", … … 110 112 if (ret) ret->connectOutput(filter, 0); 111 113 else filter.reset() ; 114 115 const bool buildGraph_ = !(thisField.build_workflow_graph.isEmpty()) && thisField.build_workflow_graph == true ; 116 if(buildGraph_) 117 { 118 filter->graphPackage = new CGraphPackage; 119 filter->graphEnabled = true; 120 filter->graphPackage->inFields.push_back(&thisField); 121 } 122 112 123 return filter; 113 124 } … … 130 141 if (ret) ret->connectOutput(filter, 0); 131 142 else filter.reset() ; 143 144 const bool buildGraph_ = !(thisField.build_workflow_graph.isEmpty()) && thisField.build_workflow_graph == true ; 145 if(buildGraph_) 146 { 147 filter->graphPackage = new CGraphPackage; 148 filter->graphEnabled = true; 149 filter->graphPackage->inFields.push_back(&thisField); 150 } 151 132 152 return filter; 133 153 } … … 149 169 if (ret) ret->connectOutput(filter, 0); 150 170 else filter.reset() ; 171 172 const bool buildGraph_ = !(thisField.build_workflow_graph.isEmpty()) && thisField.build_workflow_graph == true ; 173 if(buildGraph_) 174 { 175 filter->graphPackage = new CGraphPackage; 176 filter->graphEnabled = true; 177 filter->graphPackage->inFields.push_back(&thisField); 178 } 151 179 return filter; 152 180 } … … 173 201 } 174 202 else filter.reset() ; 203 204 const bool buildGraph_ = !(thisField.build_workflow_graph.isEmpty()) && thisField.build_workflow_graph == true ; 205 if(buildGraph_) 206 { 207 filter->graphPackage = new CGraphPackage; 208 filter->graphEnabled = true; 209 filter->graphPackage->inFields.push_back(&thisField); 210 } 211 175 212 return filter; 176 213 }
Note: See TracChangeset
for help on using the changeset viewer.