44 #ifndef AMESOS2_TACHO_TYPEMAP_HPP
45 #define AMESOS2_TACHO_TYPEMAP_HPP
48 #ifdef HAVE_TEUCHOS_COMPLEX
52 #include <Teuchos_as.hpp>
53 #ifdef HAVE_TEUCHOS_COMPLEX
54 #include <Teuchos_SerializationTraits.hpp>
57 #include "Amesos2_TypeMap.hpp"
61 template <
class,
class>
class TachoSolver;
69 struct TypeMap<TachoSolver,float>
72 typedef float magnitude_type;
76 struct TypeMap<TachoSolver,double>
79 typedef double magnitude_type;
83 #ifdef HAVE_TEUCHOS_COMPLEX
87 struct TypeMap<TachoSolver,std::complex<float> >
89 typedef Kokkos::complex<float> type;
90 typedef float magnitude_type;
94 struct TypeMap<TachoSolver,std::complex<double> >
96 typedef Kokkos::complex<double> type;
97 typedef double magnitude_type;
101 struct TypeMap<TachoSolver,Kokkos::complex<float> >
103 typedef Kokkos::complex<float> type;
104 typedef float magnitude_type;
108 struct TypeMap<TachoSolver,Kokkos::complex<double> >
110 typedef Kokkos::complex<double> type;
111 typedef double magnitude_type;
114 #endif // HAVE_TEUCHOS_COMPLEX
121 #endif // AMESOS2_TACHO_TYPEMAP_HPP