Changeset 619 for XIOS/trunk/src/node/grid.hpp
- Timestamp:
- 06/22/15 13:36:12 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/grid.hpp
r600 r619 16 16 #include "client_server_mapping.hpp" 17 17 #include "utils.hpp" 18 #include "transformation_enum.hpp" 19 #include "visitor.hpp" 18 20 19 21 namespace xios { … … 58 60 } ; 59 61 62 enum EElementType 63 { 64 GRID_ONLY_AXIS, GRID_ONLY_DOMAIN, GRID_AXIS_DOMAIN 65 }; 66 60 67 /// Constructeurs /// 61 68 CGrid(void); … … 140 147 void solveAxisRef(bool checkAtt); 141 148 void solveDomainAxisRefInheritance(bool apply = true); 149 void solveTransformations(); 142 150 143 151 void sendAddDomain(const std::string& id=""); … … 175 183 const CDistributionServer* getDistributionServer() const; 176 184 185 void transformGrid(CGrid* transformedGrid); 186 bool isTransformed(); 187 void setTransformed(); 188 EElementType getGridElementType(); 189 190 std::vector<ETransformationType> getTransformations(); 191 const std::vector<CGenericAlgorithm*>& getTransformationAlgo(); 192 177 193 public: 178 194 … … 191 207 void checkMask(void) ; 192 208 209 std::vector<CGenericAlgorithm*> algorithms_; 193 210 private: 194 211 template<int N> … … 214 231 CAxisGroup* getVirtualAxisGroup() const; 215 232 CDomainGroup* getVirtualDomainGroup() const; 233 234 235 void setTransformationAlgorithms(); 236 216 237 std::vector<int> globalDim_; 217 238 private: … … 229 250 std::vector<int> connectedServerRank_; 230 251 bool isDataDistributed_; 252 253 254 std::vector<ETransformationType> transformations_; 255 bool isTransformed_; 231 256 }; // class CGrid 232 257
Note: See TracChangeset
for help on using the changeset viewer.