Last change
on this file since 695 was
689,
checked in by mhnguyen, 9 years ago
|
Modifying the interface of interpolation domain
+) Change node name from interpolate_from_file_domain to interpolate_domain and add some new atrributes
+) Add more tests into test_remap
Test
+) On Curie
+) test_remap works for direct weight calculation and reading weight calculation from file
|
-
Property copyright set to
Software name : XIOS (Xml I/O Server) http://forge.ipsl.jussieu.fr/ioserver Creation date : January 2009 Licence : CeCCIL version2 see license file in root directory : Licence_CeCILL_V2-en.txt or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement) CNRS/IPSL (Institut Pierre Simon Laplace) Project Manager : Yann Meurdesoif yann.meurdesoif@cea.fr
|
File size:
1.9 KB
|
Line | |
---|
1 | #ifndef __TYPE_UTIL_HPP__ |
---|
2 | #define __TYPE_UTIL_HPP__ |
---|
3 | |
---|
4 | #include <string> |
---|
5 | namespace xios |
---|
6 | { |
---|
7 | class CDomain; |
---|
8 | class CDomainGroup; |
---|
9 | class CField; |
---|
10 | class CFieldGroup; |
---|
11 | class CGrid; |
---|
12 | class CGridGroup; |
---|
13 | class CAxis; |
---|
14 | class CAxisGroup; |
---|
15 | class CFile; |
---|
16 | class CFileGroup; |
---|
17 | class CContext; |
---|
18 | class CContextGroup; |
---|
19 | class CCalendarWrapper; |
---|
20 | class CVariable; |
---|
21 | class CVariableGroup; |
---|
22 | class CInverseAxis; |
---|
23 | class CInverseAxisGroup; |
---|
24 | class CZoomAxis; |
---|
25 | class CZoomAxisGroup; |
---|
26 | class CInterpolateAxis; |
---|
27 | class CInterpolateAxisGroup; |
---|
28 | class CZoomDomain; |
---|
29 | class CZoomDomainGroup; |
---|
30 | class CInterpolateDomain; |
---|
31 | class CInterpolateDomainGroup; |
---|
32 | class CGenerateRectilinearDomain; |
---|
33 | class CGenerateRectilinearDomainGroup; |
---|
34 | |
---|
35 | template <typename T> inline string getStrType(void); |
---|
36 | |
---|
37 | #define macro(T) template <> inline string getStrType<T>(void) { return std::string(#T); } |
---|
38 | |
---|
39 | macro(short) |
---|
40 | macro(unsigned short) |
---|
41 | macro(int) |
---|
42 | macro(unsigned int) |
---|
43 | macro(long) |
---|
44 | macro(unsigned long) |
---|
45 | macro(float) |
---|
46 | macro(double) |
---|
47 | macro(long double) |
---|
48 | macro(char) |
---|
49 | macro(unsigned char) |
---|
50 | macro(wchar_t) |
---|
51 | macro(bool) |
---|
52 | #undef macro |
---|
53 | |
---|
54 | #define macro(T) template <> inline string getStrType<T>(void) { return std::string(#T); } |
---|
55 | macro(CDomain) |
---|
56 | macro(CDomainGroup) |
---|
57 | macro(CField) |
---|
58 | macro(CFieldGroup) |
---|
59 | macro(CGrid) |
---|
60 | macro(CGridGroup) |
---|
61 | macro(CAxis) |
---|
62 | macro(CAxisGroup) |
---|
63 | macro(CFile) |
---|
64 | macro(CFileGroup) |
---|
65 | macro(CContext) |
---|
66 | macro(CContextGroup) |
---|
67 | macro(CCalendarWrapper) |
---|
68 | macro(CVariable) |
---|
69 | macro(CVariableGroup) |
---|
70 | macro(CInverseAxis) |
---|
71 | macro(CInverseAxisGroup) |
---|
72 | macro(CZoomAxis) |
---|
73 | macro(CZoomAxisGroup) |
---|
74 | macro(CInterpolateAxis) |
---|
75 | macro(CInterpolateAxisGroup) |
---|
76 | macro(CZoomDomain) |
---|
77 | macro(CZoomDomainGroup) |
---|
78 | macro(CInterpolateDomain) |
---|
79 | macro(CInterpolateDomainGroup) |
---|
80 | macro(CGenerateRectilinearDomain) |
---|
81 | macro(CGenerateRectilinearDomainGroup) |
---|
82 | #undef macro |
---|
83 | } |
---|
84 | |
---|
85 | |
---|
86 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.