2#ifndef UTIL_MPI_TRAITS_H
3#define UTIL_MPI_TRAITS_H
29 static const MPI::Datatype type;
30 static const bool hasType;
43 class MpiTraits :
public MpiTraitsNoType
46 using MpiTraitsNoType::hasType;
47 using MpiTraitsNoType::type;
59 static const MPI::Datatype type;
60 static const bool hasType;
69 class MpiTraits<unsigned char>
72 static const MPI::Datatype type;
73 static const bool hasType;
82 class MpiTraits<short>
85 static const MPI::Datatype type;
86 static const bool hasType;
98 static const MPI::Datatype type;
99 static const bool hasType;
108 class MpiTraits<long>
111 static const MPI::Datatype type;
112 static const bool hasType;
121 class MpiTraits<unsigned short>
124 static const MPI::Datatype type;
125 static const bool hasType;
134 class MpiTraits<unsigned int>
137 static const MPI::Datatype type;
138 static const bool hasType;
147 class MpiTraits<unsigned long>
150 static const MPI::Datatype type;
151 static const bool hasType;
160 class MpiTraits<float>
163 static const MPI::Datatype type;
164 static const bool hasType;
173 class MpiTraits<double>
176 static const MPI::Datatype type;
177 static const bool hasType;
186 class MpiTraits<long double>
189 static const MPI::Datatype type;
190 static const bool hasType;
199 class MpiTraits<bool>
202 static const MPI::Datatype type;
203 static const bool hasType;
211 class MpiTraits< std::complex<float> >
214 static const MPI::Datatype type;
215 static const bool hasType;
224 class MpiTraits< std::complex<double> >
227 static const MPI::Datatype type;
228 static const bool hasType;
237 class MpiTraits< std::complex<long double> >
240 static const MPI::Datatype type;
241 static const bool hasType;
252 class MpiTraits<wchar_t>
255 static const MPI::Datatype type;
256 static const bool hasType;
File containing preprocessor macros for error handling.
Utility classes for scientific computation.