- Timestamp:
- 01/31/19 12:12:52 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/src/transformation/axis_algorithm_inverse.cpp
r1601 r1646 15 15 #include "inverse_axis.hpp" 16 16 #include "client_client_dht_template.hpp" 17 #ifdef _usingEP 17 18 using namespace ep_lib; 19 #endif 18 20 19 21 namespace xios { … … 28 30 std::map<int, int>& elementPositionInGridDst2AxisPosition, 29 31 std::map<int, int>& elementPositionInGridDst2DomainPosition) 32 TRY 30 33 { 31 34 std::vector<CAxis*> axisListDestP = gridDst->getAxis(); … … 38 41 return (new CAxisAlgorithmInverse(axisListDestP[axisDstIndex], axisListSrcP[axisSrcIndex], inverseAxis)); 39 42 } 43 CATCH 40 44 41 45 bool CAxisAlgorithmInverse::registerTrans() 46 TRY 42 47 { 43 48 CGridTransformationFactory<CAxis>::registerTransformation(TRANS_INVERSE_AXIS, create); 44 49 } 45 50 CATCH 46 51 47 52 CAxisAlgorithmInverse::CAxisAlgorithmInverse(CAxis* axisDestination, CAxis* axisSource, CInverseAxis* inverseAxis) 48 53 : CAxisAlgorithmTransformation(axisDestination, axisSource) 54 TRY 49 55 { 50 56 if (axisDestination->n_glo.getValue() != axisSource->n_glo.getValue()) … … 56 62 } 57 63 } 64 CATCH 58 65 59 66 void CAxisAlgorithmInverse::computeIndexSourceMapping_(const std::vector<CArray<double,1>* >& dataAuxInputs) 67 TRY 60 68 { 61 69 this->transformationMapping_.resize(1); … … 83 91 } 84 92 } 93 CATCH 85 94 86 95 /*! … … 89 98 */ 90 99 void CAxisAlgorithmInverse::updateAxisValue() 100 TRY 91 101 { 92 102 CContext* context = CContext::getCurrent(); … … 283 293 delete [] itLong->second; 284 294 } 285 286 } 295 CATCH 296 297 }
Note: See TracChangeset
for help on using the changeset viewer.