source: XIOS/trunk/src/transformation/axis_algorithm_inverse.hpp @ 890

Last change on this file since 890 was 869, checked in by mhnguyen, 8 years ago

Removing the usage of blocking MPI on transformations

+) Use non-blocking MPI for axis inversion

Test
+) On Curie
+) test pass

File size: 752 bytes
Line 
1/*!
2   \file axis_algorithm_inverse.hpp
3   \author Ha NGUYEN
4   \since 14 May 2015
5   \date 09 June 2015
6
7   \brief Algorithm for inversing an axis..
8 */
9#ifndef __XIOS_AXIS_ALGORITHM_INVERSE_HPP__
10#define __XIOS_AXIS_ALGORITHM_INVERSE_HPP__
11
12#include "axis_algorithm_transformation.hpp"
13
14namespace xios {
15
16  class CAxis;
17/*!
18  \class CAxisAlgorithmInverse
19  Inversing an axis
20*/
21class CAxisAlgorithmInverse : public CAxisAlgorithmTransformation
22{
23public:
24  CAxisAlgorithmInverse(CAxis* axisDestination, CAxis* axisSource);
25
26  virtual ~CAxisAlgorithmInverse() {}
27
28protected:
29  void computeIndexSourceMapping_(const std::vector<CArray<double,1>* >& dataAuxInputs);
30
31private:
32  void updateAxisValue();
33};
34
35}
36#endif // __XIOS_AXIS_ALGORITHM_INVERSE_HPP__
Note: See TracBrowser for help on using the repository browser.