Changeset 2118 for XIOS/dev/dev_ym
- Timestamp:
- 03/26/21 11:27:42 (3 years ago)
- Location:
- XIOS/dev/dev_ym/XIOS_COUPLING/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/array_new.cpp
r1875 r2118 4 4 { 5 5 6 #define macrotyperank(_TYPE_,_RANK_)\ 7 template<> int CArray<_TYPE_,_RANK_>::TV_ttf_display_type( const CArray<_TYPE_,_RANK_>* array ) \ 8 {\ 9 return show_TV_ttf_display_type (array) ;\ 10 } 11 12 #define macrotype(_TYPE_)\ 13 macrotyperank(_TYPE_,1)\ 14 macrotyperank(_TYPE_,2)\ 15 macrotyperank(_TYPE_,3)\ 16 macrotyperank(_TYPE_,4)\ 17 macrotyperank(_TYPE_,5)\ 18 macrotyperank(_TYPE_,6)\ 19 macrotyperank(_TYPE_,7) 20 21 macrotype(double) 22 macrotype(int) 23 macrotype(bool) 24 macrotype(size_t) 25 macrotype(float) 26 macrotype(string) 27 28 #undef macrotyperank 29 #undef macrotype 6 30 7 31 } -
XIOS/dev/dev_ym/XIOS_COUPLING/src/array_new.hpp
r1918 r2118 299 299 : Array<T_numtype,N_rank>(array, r0,r1, r2, r3, r4, r5, r6, r7, r8, r9, r10) 300 300 , initialized(true) 301 { bool neverTrue ; neverTrue=false ; bool neverTrue ; neverTrue=false ;if(neverTrue) inc_symbol(); }301 { bool neverTrue ; neverTrue=false ; if(neverTrue) inc_symbol(); } 302 302 303 303 virtual ~CArray() {} … … 645 645 646 646 #define macrotyperank(_TYPE_,_RANK_)\ 647 template<> int CArray<_TYPE_,_RANK_>::TV_ttf_display_type( const CArray<_TYPE_,_RANK_>* array ) \ 648 {\ 649 return show_TV_ttf_display_type (array) ;\ 650 } 647 template<> int CArray<_TYPE_,_RANK_>::TV_ttf_display_type( const CArray<_TYPE_,_RANK_>* array ); 651 648 652 649 #define macrotype(_TYPE_)\ -
XIOS/dev/dev_ym/XIOS_COUPLING/src/attribute_array.hpp
r1875 r2118 118 118 119 119 #define macrotyperank(_TYPE_,_RANK_)\ 120 template<> int CAttributeArray<_TYPE_,_RANK_>::TV_ttf_display_type(const CAttributeArray<_TYPE_,_RANK_>* array ) \ 121 {\ 122 return CAttributeArray<_TYPE_,_RANK_>::show_TV_ttf_display_type (array) ;\ 123 } 120 template<> int CAttributeArray<_TYPE_,_RANK_>::TV_ttf_display_type(const CAttributeArray<_TYPE_,_RANK_>* array ); 124 121 125 122 #define macrotype(_TYPE_)\ -
XIOS/dev/dev_ym/XIOS_COUPLING/src/attribute_array_decl.cpp
r1158 r2118 19 19 template class CAttributeArray<StdString,1> ; 20 20 template class CAttributeArray<StdString,2> ; 21 22 #define macrotyperank(_TYPE_,_RANK_) \ 23 template<> int CAttributeArray<_TYPE_,_RANK_>::TV_ttf_display_type(const CAttributeArray<_TYPE_,_RANK_>* array ) \ 24 {\ 25 return CAttributeArray<_TYPE_,_RANK_>::show_TV_ttf_display_type (array) ;\ 26 } 27 28 #define macrotype(_TYPE_)\ 29 macrotyperank(_TYPE_,1)\ 30 macrotyperank(_TYPE_,2)\ 31 macrotyperank(_TYPE_,3)\ 32 macrotyperank(_TYPE_,4)\ 33 macrotyperank(_TYPE_,5)\ 34 macrotyperank(_TYPE_,6)\ 35 macrotyperank(_TYPE_,7) 36 37 macrotype(double) 38 macrotype(int) 39 macrotype(bool) 40 macrotype(size_t) 41 macrotype(float) 42 macrotype(string) 43 44 #undef macrotyperank 45 #undef macrotype 46 21 47 } -
XIOS/dev/dev_ym/XIOS_COUPLING/src/attribute_template.hpp
r1875 r2118 146 146 147 147 #define macrotype(_TYPE_)\ 148 template<> int CAttributeTemplate<_TYPE_>::TV_ttf_display_type( const CAttributeTemplate<_TYPE_>* attr ) \ 149 {\ 150 return show_TV_ttf_display_type (attr) ;\ 151 } 148 template<> int CAttributeTemplate<_TYPE_>::TV_ttf_display_type( const CAttributeTemplate<_TYPE_>* attr ); 152 149 153 150 macrotype(double) -
XIOS/dev/dev_ym/XIOS_COUPLING/src/attribute_template_decl.cpp
r537 r2118 12 12 template class CAttributeTemplate<CDate> ; 13 13 template class CAttributeTemplate<CDuration> ; 14 15 #define macrotype(_TYPE_) \ 16 template<> int CAttributeTemplate<_TYPE_>::TV_ttf_display_type( const CAttributeTemplate<_TYPE_>* attr ) \ 17 {\ 18 return show_TV_ttf_display_type (attr) ;\ 19 } 20 21 macrotype(double) 22 macrotype(int) 23 macrotype(bool) 24 macrotype(string) 25 //macrotype(CDate) 26 //macrotype(CDuration) 27 #undef macrotype 28 14 29 } -
XIOS/dev/dev_ym/XIOS_COUPLING/src/distribution/gatherer_connector.hpp
r2011 r2118 151 151 void transfer(map<int, CArray<T,1>>& dataIn, CArray<T,1>& dataOut, T missingValue) 152 152 { 153 transfer(1, 1, dataIn, data out, missingValue)153 transfer(1, 1, dataIn, dataOut, missingValue); 154 154 } 155 155 -
XIOS/dev/dev_ym/XIOS_COUPLING/src/distribution/scatterer_connector.hpp
r1984 r2118 50 50 void transfer(int sizeT, const CArray<T,n>& dataIn, map<int, CArray<T,1>>& dataOut) 51 51 { 52 transfer(1, sizeT, dataIn, dataOut) 52 transfer(1, sizeT, dataIn, dataOut); 53 53 } 54 54 -
XIOS/dev/dev_ym/XIOS_COUPLING/src/mpi_tools.cpp
r1984 r2118 27 27 } 28 28 29 template<> 30 MPI_Datatype MPI_GetType<char>(void) { return MPI_CHAR ;} 31 32 template<> 33 MPI_Datatype MPI_GetType<short int>(void) { return MPI_SHORT ;} 34 35 template<> 36 MPI_Datatype MPI_GetType<int>(void) { return MPI_INT ;} 37 38 template<> 39 MPI_Datatype MPI_GetType<size_t>(void) { return MPI_SIZE_T ;} 40 41 template<> 42 MPI_Datatype MPI_GetType<float>(void) { return MPI_FLOAT ;} 43 44 template<> 45 MPI_Datatype MPI_GetType<double>(void) { return MPI_DOUBLE ;} 46 47 template<> 48 MPI_Datatype MPI_GetType<long double>(void) { return MPI_LONG_DOUBLE ;} 49 29 50 } -
XIOS/dev/dev_ym/XIOS_COUPLING/src/mpi_tools.hpp
r1984 r2118 13 13 14 14 template<> 15 MPI_Datatype MPI_GetType<char>(void) { return MPI_CHAR ;}15 MPI_Datatype MPI_GetType<char>(void); 16 16 17 17 template<> 18 MPI_Datatype MPI_GetType<short int>(void) { return MPI_SHORT ;}18 MPI_Datatype MPI_GetType<short int>(void); 19 19 20 20 template<> 21 MPI_Datatype MPI_GetType<int>(void) { return MPI_INT ;}21 MPI_Datatype MPI_GetType<int>(void); 22 22 23 23 template<> 24 MPI_Datatype MPI_GetType<size_t>(void) { return MPI_SIZE_T ;}24 MPI_Datatype MPI_GetType<size_t>(void); 25 25 26 26 template<> 27 MPI_Datatype MPI_GetType<float>(void) { return MPI_FLOAT ;}27 MPI_Datatype MPI_GetType<float>(void); 28 28 29 29 template<> 30 MPI_Datatype MPI_GetType<double>(void) { return MPI_DOUBLE ;}30 MPI_Datatype MPI_GetType<double>(void); 31 31 32 32 template<> 33 MPI_Datatype MPI_GetType<long double>(void) { return MPI_LONG_DOUBLE ;}33 MPI_Datatype MPI_GetType<long double>(void); 34 34 35 35 -
XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/transformation.hpp
r2011 r2118 5 5 #include "xml_node.hpp" 6 6 #include "transformation_enum.hpp" 7 #include "exception.hpp" 7 8 8 9 namespace xios {
Note: See TracChangeset
for help on using the changeset viewer.