Ignore:
Timestamp:
06/04/21 11:54:38 (3 years ago)
Author:
yushan
Message:

Big commit on graph functionality. Add buildWorkflowGraph function for filters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/filter/file_reader_source_filter.cpp

    r1962 r2143  
    77#include "file.hpp" 
    88#include "context.hpp" 
    9  
     9#include "workflow_graph.hpp" 
    1010 
    1111namespace xios 
     
    4545     
    4646    info(20)<<"Read data from file : FieldId "<<field_->getId()<<"  nStep "<<nStep_<<"  date : "<<packet->date<<endl ; 
     47   
     48    if(this->graphEnabled) 
     49    { 
     50      this->graphPackage->filterId = CWorkflowGraph::getNodeSize(); 
     51      CWorkflowGraph::addNode("File Reader Source filter", 1, false, 0, packet); 
     52    } 
    4753            
    4854    onOutputReady(packet); 
Note: See TracChangeset for help on using the changeset viewer.