13 const MPI::Datatype MpiTraitsNoType::type = MPI::CHAR;
14 const bool MpiTraitsNoType::hasType =
false;
16 const MPI::Datatype MpiTraits<char>::type = MPI::CHAR;
17 const bool MpiTraits<char>::hasType =
true;
19 const MPI::Datatype MpiTraits<unsigned char>::type = MPI::UNSIGNED_CHAR;
20 const bool MpiTraits<unsigned char>::hasType =
true;
22 const MPI::Datatype MpiTraits<short>::type = MPI::SHORT_INT;
23 const bool MpiTraits<short>::hasType =
true;
25 const MPI::Datatype MpiTraits<int>::type = MPI::INT;
26 const bool MpiTraits<int>::hasType =
true;
28 const MPI::Datatype MpiTraits<long>::type = MPI::LONG;
29 const bool MpiTraits<long>::hasType =
true;
31 const MPI::Datatype MpiTraits<unsigned short>::type = MPI::UNSIGNED_SHORT;
32 const bool MpiTraits<unsigned short>::hasType =
true;
34 const MPI::Datatype MpiTraits<unsigned int>::type = MPI::UNSIGNED;
35 const bool MpiTraits<unsigned int>::hasType =
true;
37 const MPI::Datatype MpiTraits<unsigned long >::type = MPI::UNSIGNED_LONG;
38 const bool MpiTraits<unsigned long>::hasType =
true;
40 const MPI::Datatype MpiTraits<float>::type = MPI::FLOAT;
41 const bool MpiTraits<float>::hasType =
true;
43 const MPI::Datatype MpiTraits<double>::type = MPI::DOUBLE;
44 const bool MpiTraits<double>::hasType =
true;
46 const MPI::Datatype MpiTraits<long double>::type = MPI::LONG_DOUBLE;
47 const bool MpiTraits<long double>::hasType =
true;
49 const MPI::Datatype MpiTraits<bool>::type = MPI::BYTE;
50 const bool MpiTraits<bool>::hasType =
false;
53 const MPI::Datatype MpiTraits<std::complex<float> >::type = MPI::COMPLEX;
54 const bool MpiTraits<std::complex<float> >::hasType =
true;
56 const MPI::Datatype MpiTraits<std::complex<double> >::type = MPI::DOUBLE_COMPLEX;
57 const bool MpiTraits<std::complex<double> >::hasType =
true;
59 const MPI::Datatype MpiTraits<std::complex<long double> >::type = MPI::LONG_DOUBLE_COMPLEX;
60 const bool MpiTraits<std::complex<long double> >::hasType =
true;
64 const MPI::Datatype MpiTraits<wchar_t>::type = MPI::WCHAR;
65 const bool MpiTraits<wchar_t>::hasType =
true;
Utility classes for scientific computation.