Last change
on this file since 830 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
|
Rev | Line | |
---|
[313] | 1 | #ifndef __TYPE_UTIL_HPP__ |
---|
| 2 | #define __TYPE_UTIL_HPP__ |
---|
| 3 | |
---|
| 4 | #include <string> |
---|
[335] | 5 | namespace xios |
---|
[313] | 6 | { |
---|
[549] | 7 | class CDomain; |
---|
[313] | 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; |
---|
[352] | 18 | class CContextGroup; |
---|
[549] | 19 | class CCalendarWrapper; |
---|
| 20 | class CVariable; |
---|
| 21 | class CVariableGroup; |
---|
[621] | 22 | class CInverseAxis; |
---|
| 23 | class CInverseAxisGroup; |
---|
| 24 | class CZoomAxis; |
---|
| 25 | class CZoomAxisGroup; |
---|
[630] | 26 | class CInterpolateAxis; |
---|
| 27 | class CInterpolateAxisGroup; |
---|
[631] | 28 | class CZoomDomain; |
---|
| 29 | class CZoomDomainGroup; |
---|
[689] | 30 | class CInterpolateDomain; |
---|
| 31 | class CInterpolateDomainGroup; |
---|
[687] | 32 | class CGenerateRectilinearDomain; |
---|
| 33 | class CGenerateRectilinearDomainGroup; |
---|
[313] | 34 | |
---|
[549] | 35 | template <typename T> inline string getStrType(void); |
---|
| 36 | |
---|
| 37 | #define macro(T) template <> inline string getStrType<T>(void) { return std::string(#T); } |
---|
| 38 | |
---|
[313] | 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) |
---|
[327] | 52 | #undef macro |
---|
[549] | 53 | |
---|
| 54 | #define macro(T) template <> inline string getStrType<T>(void) { return std::string(#T); } |
---|
[313] | 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) |
---|
[352] | 66 | macro(CContextGroup) |
---|
[549] | 67 | macro(CCalendarWrapper) |
---|
[352] | 68 | macro(CVariable) |
---|
| 69 | macro(CVariableGroup) |
---|
[621] | 70 | macro(CInverseAxis) |
---|
| 71 | macro(CInverseAxisGroup) |
---|
| 72 | macro(CZoomAxis) |
---|
| 73 | macro(CZoomAxisGroup) |
---|
[630] | 74 | macro(CInterpolateAxis) |
---|
| 75 | macro(CInterpolateAxisGroup) |
---|
[631] | 76 | macro(CZoomDomain) |
---|
| 77 | macro(CZoomDomainGroup) |
---|
[689] | 78 | macro(CInterpolateDomain) |
---|
| 79 | macro(CInterpolateDomainGroup) |
---|
[687] | 80 | macro(CGenerateRectilinearDomain) |
---|
| 81 | macro(CGenerateRectilinearDomainGroup) |
---|
[313] | 82 | #undef macro |
---|
| 83 | } |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.