53 #ifndef AMESOS2_BASKER_FUNCTIONMAP_HPP
54 #define AMESOS2_BASKER_FUNCTIONMAP_HPP
56 #ifdef HAVE_TEUCHOS_COMPLEX
62 #include "basker_decl.hpp"
63 #include "basker_def.hpp"
67 #ifdef HAVE_TEUCHOS_COMPLEX
69 struct FunctionMap<Basker,Kokkos::complex<double>>
71 static std::complex<double> * convert_scalar(Kokkos::complex<double> * pData) {
72 return reinterpret_cast<std::complex<double> *
>(pData);
76 #endif // HAVE_TEUCHOS_COMPLEX
79 template <
typename scalar_t>
80 struct FunctionMap<Basker,scalar_t>
82 static scalar_t * convert_scalar(scalar_t * pData) {
89 #endif // AMESOS2_BASKER_FUNCTIONMAP_HPP
Provides definition of Basker types.
Declaration of Function mapping class for Amesos2.