Ignore:
Timestamp:
03/06/19 12:11:10 (5 years ago)
Author:
oabramkina
Message:

Developments for visualization of XIOS workflow.

Branch is spawned from trunk r1649.

Boost library is used for producing Graphviz DOT files. Current results: a DOT file representing a static workflow. For a complete proof of concept, DOT files for each timestamp should be generated. The necessary information has been collected by XIOS, it only requires rearranging the information for graphing (changes in classes CWorkflowGraph and CGraphviz).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/filter/spatial_transform_filter.hpp

    r1542 r1653  
    2323       * \param outputValue default value of output pin 
    2424       * \param [in] inputSlotsCount number of input, by default there is only one for field src 
     25       * \param buildWorkflowGraph indicates whether data will be visualized 
    2526       */ 
    26       CSpatialTransformFilter(CGarbageCollector& gc, CSpatialTransformFilterEngine* engine, double outputValue, size_t inputSlotsCount = 1); 
     27      CSpatialTransformFilter(CGarbageCollector& gc, CSpatialTransformFilterEngine* engine, 
     28                              double outputValue, size_t inputSlotsCount = 1, bool buildWorkflowGraph = false); 
     29 
     30      inline StdString GetName(void) {return StdString("Spatial transform filter");}; 
    2731 
    2832      /*! 
     
    3438       * \param hasMissingValue whether field source has missing value 
    3539       * \param defaultValue default value 
     40       * \param buildWorkflowGraph indicates whether data will be visualized 
    3641       * \return the first and the last filters of the filter graph 
    3742       */ 
    3843      static std::pair<std::shared_ptr<CSpatialTransformFilter>, std::shared_ptr<CSpatialTransformFilter> > 
    39       buildFilterGraph(CGarbageCollector& gc, CGrid* srcGrid, CGrid* destGrid, bool hasMissingValue, double defaultValue); 
     44      buildFilterGraph(CGarbageCollector& gc, CGrid* srcGrid, CGrid* destGrid, bool hasMissingValue, double defaultValue, bool buildWorkflowGraph = false); 
    4045 
    4146    protected: 
     
    6772       * \param outputValue default value of output pin 
    6873       * \param [in] inputSlotsCount number of input, by default there is only one for field src 
     74       * \param buildWorkflowGraph indicates whether data will be visualized 
     75       * 
    6976       */ 
    70       CSpatialTemporalFilter(CGarbageCollector& gc, CSpatialTransformFilterEngine* engine, CGridTransformation* gridTransformation, double outputValue, size_t inputSlotsCount = 1); 
     77      CSpatialTemporalFilter(CGarbageCollector& gc, CSpatialTransformFilterEngine* engine, CGridTransformation* gridTransformation, 
     78                            double outputValue, size_t inputSlotsCount = 1, bool buildWorkflowGraph = false); 
    7179 
    7280 
Note: See TracChangeset for help on using the changeset viewer.