Changeset 867 for XIOS/trunk/src/transformation/grid_transformation.hpp
- Timestamp:
- 06/09/16 11:33:19 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/grid_transformation.hpp
r862 r867 12 12 #include <map> 13 13 #include <vector> 14 #include "grid.hpp"15 14 #include "generic_algorithm_transformation.hpp" 16 15 #include "transformation_enum.hpp" … … 25 24 This class is an interface for all transformations to interact with the rest of XIOS. 26 25 The class, firstly, tries to get all information relating to requested transformations by retrieving directly from grid. 27 Then with all these information, all necessary transformations will be created by generic class \class CGenericAlgorithmTransformation. 28 Because there are information exchange among clients to accomplish the transformations (e.g: some index need retrieving from other clients), 29 this class uses class \class CTransformationMapping to fulfill this demand. 26 Secondly, with all these information, all necessary transformations will be created by generic class \class CGenericAlgorithmTransformation. 27 Then this class accomplishes the transformations by exchanging information among clients (e.g: some index need retrieving index from other clients), 30 28 For each transformation, a new temporary grid source is created. 31 29 For a consequential transformations (e.g: inversing -> zoom -> inversing -> ...), … … 63 61 void initializeAxisAlgorithms(int axisPositionInGrid); 64 62 void initializeDomainAlgorithms(int domPositionInGrid); 65 void initialize MappingOfOriginalGridSource();63 void initializeTransformations(); 66 64 67 65 void selectAxisAlgo(int elementPositionInGrid, ETranformationType transType, int transformationOrder); … … 69 67 void selectAlgo(int elementPositionInGrid, ETranformationType transType, int transformationOrder, bool isDomainAlgo); 70 68 void setUpGrid(int elementPositionInGrid, ETranformationType transType, int nbTransformation); 71 // void computeFinalTransformationMapping();72 // void computeTransformationFromOriginalGridSource(const DestinationIndexMap& globaIndexMapFromDestToSource);73 69 void computeTransformationMapping(const SourceDestinationIndexMap& globalIndexWeightFromSrcToDest); 74 // void updateFinalGridDestination();75 70 bool isSpecialTransformation(ETranformationType transType); 76 71 … … 113 108 std::map<int, int> elementPosition2AxisPositionInGrid_, elementPosition2DomainPositionInGrid_; 114 109 115 //! (Grid) Global index of grid source116 DestinationIndexMap currentGridIndexToOriginalGridIndex_;117 118 110 std::vector<CGrid*> tempGrids_; 119 111 std::vector<StdString> auxInputs_;
Note: See TracChangeset
for help on using the changeset viewer.