Changeset 2021 for XIOS/dev/dev_trunk_graph/src/node/grid.cpp
- Timestamp:
- 01/22/21 18:35:44 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_graph/src/node/grid.cpp
r2019 r2021 1691 1691 1692 1692 std::pair<std::shared_ptr<CFilter>, std::shared_ptr<CFilter> > 1693 CGrid::buildTransformationGraph(CGarbageCollector& gc, bool isSource, CGrid* gridSrc, double detectMissingValues, double defaultValue, CGrid*& newGrid, bool graphEnabled )1693 CGrid::buildTransformationGraph(CGarbageCollector& gc, bool isSource, CGrid* gridSrc, double detectMissingValues, double defaultValue, CGrid*& newGrid, bool graphEnabled, CField* field) 1694 1694 TRY 1695 1695 { … … 1714 1714 else 1715 1715 { 1716 cout<<"Create new grid : "<<newId<<endl ; 1716 StdString role = CXios::isClient? "Client ": "Server "; 1717 cout<<role<<"Create new grid : "<<newId<<endl ; 1717 1718 newGrid = CGrid::create(newId) ; 1718 1719 isNewGrid = true ; … … 1986 1987 shared_ptr<CTransformFilter> transformFilter = shared_ptr<CTransformFilter>(gridAlgorithm->createTransformFilter(gc, detectMissingValues, defaultValue)) ; 1987 1988 outputFilter->connectOutput(transformFilter,0) ; 1989 if(graphEnabled) 1990 { 1991 transformFilter->graphEnabled=true; 1992 transformFilter->graphPackage = new CGraphPackage; 1993 transformFilter->graphPackage->inFields.push_back(field); 1994 } 1995 1988 1996 vector<string> auxFieldId = algo->getAuxFieldId() ; // better to do that at transformation not algo ?? 1989 1997 int i=1; … … 1994 2002 auxField->getInstantDataFilter()->connectOutput(transformFilter,i) ; 1995 2003 i++ ; 2004 1996 2005 } 1997 2006 outputFilter = transformFilter ;
Note: See TracChangeset
for help on using the changeset viewer.