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

dev for trunk with graph. trunk at r1684

Location:
XIOS/dev/dev_trunk_graph/src/filter
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_graph/src/filter/file_writer_filter.cpp

    r1686 r1688  
    3636      (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].attributes += "</br>file attributes : </br>" +this->field->file->record4graphXiosAttributes(); 
    3737      (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].clusterID =1; 
    38       (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].distance = ++(data[0]->distance); 
     38      (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].distance = data[0]->distance+1; 
    3939 
    4040      if(CXios::isClient && CWorkflowGraph::build_begin)  
  • XIOS/dev/dev_trunk_graph/src/filter/pass_through_filter.cpp

    r1686 r1688  
    2525 
    2626      CWorkflowGraph::addNode(this->filterID, "Pass Through Filter\\n("+data[0]->field->getId()+")", 2, 1, 1, data[0]); 
    27       (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].distance = ++(data[0]->distance); 
     27      (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].distance = data[0]->distance+1; 
    2828 
    2929      (*CWorkflowGraph::mapFilters_ptr_with_info)[this->filterID].attributes = this->field->record4graphXiosAttributes(); 
     
    3939       
    4040      data[0]->src_filterID=this->filterID; 
     41      data[0]->distance++; 
    4142 
    4243    } 
  • XIOS/dev/dev_trunk_graph/src/filter/source_filter.cpp

    r1686 r1688  
    2828  { 
    2929    bool building_graph = this->tag ? packet->timestamp >= this->field->field_graph_start && packet->timestamp <= this->field->field_graph_end : false; 
    30     
    3130    if(building_graph) 
    3231    { 
  • XIOS/dev/dev_trunk_graph/src/filter/spatial_transform_filter.cpp

    r1686 r1688  
    215215    } 
    216216 
     217    if(BG) packet->src_filterID=this->filterID; 
     218    if(BG) packet->distance=data[0]->distance+1; 
     219    packet->field = field; 
     220 
    217221    return packet; 
    218222  } 
Note: See TracChangeset for help on using the changeset viewer.