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).

Location:
XIOS/dev/dev_olga/src/transformation
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/transformation/domain_algorithm_zoom.cpp

    r1620 r1653  
    113113  domainDest_->data_ni.setValue(niDest); 
    114114  domainDest_->data_nj.setValue(njDest); 
    115   domainDest_->data_ibegin.setValue(0);  // local position 
    116   domainDest_->data_jbegin.setValue(0);  // local position 
    117   domainDest_->data_i_index.resize(niDest*njDest); // local position 
    118   domainDest_->data_j_index.resize(niDest*njDest); // local position 
     115  domainDest_->data_ibegin.setValue(0); 
     116  domainDest_->data_jbegin.setValue(0); 
     117  domainDest_->data_i_index.resize(niDest*njDest); 
     118  domainDest_->data_j_index.resize(niDest*njDest); 
    119119 
    120120  domainDest_->domainMask.resize(niDest*njDest); 
  • XIOS/dev/dev_olga/src/transformation/generic_algorithm_transformation.hpp

    r1599 r1653  
    8787  */ 
    8888  void computeIndexSourceMapping(const std::vector<CArray<double,1>* >& dataAuxInputs = std::vector<CArray<double,1>* >()); 
    89 //  void computeTransformationMappingNonDistributed(int elementPositionInGrid, CGrid* gridSrc, CGrid* gridDst, 
    90 //                                                  vector<int>& localSrc, vector<int>& localDst, vector<double>& weight, vector<bool>& localMaskOnGridDest); 
    9189  void computeTransformationMappingNonDistributed(int elementPositionInGrid, CGrid* gridSrc, CGrid* gridDst, 
    9290                                                  vector<int>& localSrc, vector<int>& localDst, vector<double>& weight, int& nbLocalIndexOnGridDest); 
  • XIOS/dev/dev_olga/src/transformation/grid_transformation.cpp

    r1612 r1653  
    413413        int nbLocalIndexOnGridDest; 
    414414        CTimer::get("computeTransformationMappingNonDistributed").resume();   
    415 //        algo->computeTransformationMappingNonDistributed(elementPosition, gridSource_, tmpGridDestination_, 
    416 //                                                         localSrc, localDst, weight, localMaskOnGridDest_.back()) ; 
    417415        algo->computeTransformationMappingNonDistributed(elementPosition, gridSource_, tmpGridDestination_,  
    418416                                                         localSrc, localDst, weight, nbLocalIndexOnGridDest) ; 
  • XIOS/dev/dev_olga/src/transformation/grid_transformation_factory_impl.hpp

    r1612 r1653  
    110110} 
    111111 
     112 
    112113} 
    113114#endif // __XIOS_GRID_TRANSFORMATION_FACTORY_HPP__ 
Note: See TracChangeset for help on using the changeset viewer.