Ignore:
Timestamp:
06/04/19 10:00:52 (5 years ago)
Author:
yushan
Message:

MARK: branch merged with trunk @1663. One output graph file with output file names in file writer filter.

File:
1 edited

Legend:

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

    r1670 r1671  
    1616    if (buildWorkflowGraph) 
    1717    { 
    18       if(InvalidableObject::count_ptr == 0) InvalidableObject::count_ptr = new std::map< StdString, int>; 
    19       if(InvalidableObject::count_ptr->find(CWorkflowGraph::my_filename) == InvalidableObject::count_ptr->end()) 
    20       { 
    21         (*InvalidableObject::count_ptr)[CWorkflowGraph::my_filename] = 0;  
    22       } 
    23       //filterId = InvalidableObject::count; 
    24       filterId = (*InvalidableObject::count_ptr)[CWorkflowGraph::my_filename]; 
    25       printf("file_writer_filter ================ filterId = %d\n", (*InvalidableObject::count_ptr)[CWorkflowGraph::my_filename]); 
    26       (*InvalidableObject::count_ptr)[CWorkflowGraph::my_filename]++; 
    27       //InvalidableObject::count++; 
     18      filterId = InvalidableObject::count; 
     19      InvalidableObject::count++; 
    2820    } 
    2921  } 
Note: See TracChangeset for help on using the changeset viewer.