source: XIOS/trunk/src/node/interpolate_from_file_domain.hpp @ 680

Last change on this file since 680 was 657, checked in by mhnguyen, 9 years ago

Making changes in domain to make sure unstructed grid work with new method of index distribution

+) Change the way define i_index and j_index of a domain
+) Remove some redundant attributes of domain
+) Adjust the way to calculate index distribution on server side

Test
+) Make some minor change to test_unstruct_complete to work with new XIOS
+) On Curie
+) All test pass and correct

File size: 2.0 KB
Line 
1#ifndef __XIOS_CInterpolateFromFileDomain__
2#define __XIOS_CInterpolateFromFileDomain__
3
4/// xios headers ///
5#include "xios_spl.hpp"
6#include "attribute_enum.hpp"
7#include "attribute_enum_impl.hpp"
8#include "attribute_array.hpp"
9#include "declare_attribute.hpp"
10#include "object_template.hpp"
11#include "group_factory.hpp"
12#include "declare_group.hpp"
13#include "transformation.hpp"
14#include "domain.hpp"
15
16namespace xios {
17  /// ////////////////////// Déclarations ////////////////////// ///
18  class CInterpolateFromFileDomainGroup;
19  class CInterpolateFromFileDomainAttributes;
20  class CInterpolateFromFileDomain;
21  class CDomain;
22
23  ///--------------------------------------------------------------
24
25  // Declare/Define CFileAttribute
26  BEGIN_DECLARE_ATTRIBUTE_MAP(CInterpolateFromFileDomain)
27#include "interpolate_from_file_domain_attribute.conf"
28  END_DECLARE_ATTRIBUTE_MAP(CInterpolateFromFileDomain)
29
30  ///--------------------------------------------------------------
31  /*!
32    \class CInterpolateFromFileDomain
33    This class describes interpolate_from_file_domain in xml file.
34  */
35  class CInterpolateFromFileDomain
36    : public CObjectTemplate<CInterpolateFromFileDomain>
37    , public CInterpolateFromFileDomainAttributes
38    , public CTransformation<CDomain>
39  {
40    public :
41      typedef CObjectTemplate<CInterpolateFromFileDomain> SuperClass;
42      typedef CInterpolateFromFileDomainAttributes SuperClassAttribute;
43
44    public :
45      /// Constructeurs ///
46      CInterpolateFromFileDomain(void);
47      explicit CInterpolateFromFileDomain(const StdString& id);
48
49      /// Destructeur ///
50      virtual ~CInterpolateFromFileDomain(void);
51
52      virtual void checkValid(CDomain* axisDest);
53
54      /// Accesseurs statiques ///
55      static StdString GetName(void);
56      static StdString GetDefName(void);
57      static ENodeType GetType(void);
58    private:
59
60  }; // class CInterpolateFromFileDomain
61
62  DECLARE_GROUP(CInterpolateFromFileDomain);
63} // namespace xios
64
65#endif // __XIOS_CInterpolateFromFileDomain__
Note: See TracBrowser for help on using the repository browser.