19 #ifndef AMESOS2_BASKER_FUNCTIONMAP_HPP
20 #define AMESOS2_BASKER_FUNCTIONMAP_HPP
22 #ifdef HAVE_TEUCHOS_COMPLEX
28 #include "basker_decl.hpp"
29 #include "basker_def.hpp"
33 #ifdef HAVE_TEUCHOS_COMPLEX
35 struct FunctionMap<Basker,Kokkos::complex<double>>
37 static std::complex<double> * convert_scalar(Kokkos::complex<double> * pData) {
38 return reinterpret_cast<std::complex<double> *
>(pData);
42 #endif // HAVE_TEUCHOS_COMPLEX
45 template <
typename scalar_t>
46 struct FunctionMap<Basker,scalar_t>
48 static scalar_t * convert_scalar(scalar_t * pData) {
55 #endif // AMESOS2_BASKER_FUNCTIONMAP_HPP
Provides definition of Basker types.
Declaration of Function mapping class for Amesos2.