Ignore:
Timestamp:
07/08/19 16:58:12 (5 years ago)
Author:
yushan
Message:

MARK: Dynamic workflow graph developement. Branch up to date with trunk @1676. Arithmetic filter unified

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/src/filter/source_filter.cpp

    r1679 r1680  
    7171      packet->field = this->field; 
    7272       
    73        
    7473      if(CXios::isClient) std::cout<<"source filter tag = "<<this->tag<<" start = "<<start_graph<<" end = "<<end_graph<<std::endl; 
    7574     
    76       if(CWorkflowGraph::mapFilters_ptr_with_info==0) CWorkflowGraph::mapFilters_ptr_with_info = new std::unordered_map <int, graph_info_box_node>; 
    77  
    78       (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].filter_name = "Source Filter "+ this->field->getId(); 
    79       (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].filter_class = 1; 
    80       (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].filter_filled = 1; 
    81       (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].expected_entry_nb = 0; 
    82       (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].date = date; 
    83       (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].timestamp = packet->timestamp; 
    84  
    85       if(CWorkflowGraph::mapFieldToFilters_ptr_with_info==0) CWorkflowGraph::mapFieldToFilters_ptr_with_info = new std::unordered_map <int, graph_info_box_edge>; 
     75      CWorkflowGraph::allocNodeEdge(); 
     76 
     77      CWorkflowGraph::addNode(this->filterID, "Source Filter ", 1, 1, 0, packet); 
     78      (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].attributes = this->field->recordXiosAttributes(); 
     79      (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].field_id = this->field->getId(); 
    8680 
    8781      CWorkflowGraph::build_begin = true; 
Note: See TracChangeset for help on using the changeset viewer.