18 #ifndef AMESOS2_MUMPS_FUNCTIONMAP_HPP
19 #define AMESOS2_MUMPS_FUNCTIONMAP_HPP
21 #ifdef HAVE_TEUCHOS_COMPLEX
34 struct FunctionMap<MUMPS, float>
36 typedef TypeMap<MUMPS, float> typemap;
38 static void mumps_c(typemap::MUMPS_STRUC_C *mumps_par)
40 MUMPST::smumps_c(mumps_par);
44 struct FunctionMap<MUMPS,double>
46 typedef TypeMap<MUMPS, double> typemap;
48 static void mumps_c(typemap::MUMPS_STRUC_C *mumps_par)
50 MUMPST::dmumps_c(mumps_par);
54 #ifdef HAVE_TEUCHOS_COMPLEX
57 struct FunctionMap<MUMPS,MUMPST::CMUMPS_COMPLEX>
59 typedef TypeMap<MUMPS,MUMPST::CMUMPS_COMPLEX> typemap;
61 static void mumps_c(typemap::MUMPS_STRUC_C *mumps_par)
63 MUMPST::cmumps_c(mumps_par);
69 struct FunctionMap<MUMPS, std::complex<float> >
71 typedef TypeMap<MUMPS, std::complex<float> > typemap;
73 static void mumps_c(typemap::MUMPS_STRUC_C *mumps_par)
75 MUMPST::cmumps_c(mumps_par);
80 struct FunctionMap<MUMPS, std::complex<double> >
82 typedef TypeMap<MUMPS, std::complex<double> > typemap;
84 static void mumps_c(typemap::MUMPS_STRUC_C *mumps_par)
86 MUMPST::zmumps_c(mumps_par);
93 #endif // AMESOS2_MUMPS_FUNCTIONMAP_HPP
Declaration of Function mapping class for Amesos2.
Provides definition of MUMPS types as well as conversions and type traits.