53 #ifndef AMESOS2_BASKER_TYPEMAP_HPP
54 #define AMESOS2_BASKER_TYPEMAP_HPP
57 #ifdef HAVE_TEUCHOS_COMPLEX
61 #include <Teuchos_as.hpp>
62 #ifdef HAVE_TEUCHOS_COMPLEX
63 #include <Teuchos_SerializationTraits.hpp>
66 #include "Amesos2_TypeMap.hpp"
70 template <
class,
class>
class Basker;
77 struct TypeMap<Basker,float>
84 struct TypeMap<Basker,double>
91 #ifdef HAVE_TEUCHOS_COMPLEX
94 struct TypeMap<Basker,std::complex<float> >
96 static std::complex<double> dtype;
97 typedef Kokkos::complex<double> type;
101 struct TypeMap<Basker,std::complex<double> >
103 static std::complex<double> dtype;
104 typedef Kokkos::complex<double> type;
108 struct TypeMap<Basker,Kokkos::complex<float> >
110 static std::complex<double> dtype;
111 typedef Kokkos::complex<double> type;
115 struct TypeMap<Basker,Kokkos::complex<double> >
117 static std::complex<double> dtype;
118 typedef Kokkos::complex<double> type;
122 #endif // HAVE_TEUCHOS_COMPLEX
129 #endif // AMESOS2_BASKER_TYPEMAP_HPP