52 #ifndef AMESOS2_MUMPS_FUNCTIONMAP_HPP
53 #define AMESOS2_MUMPS_FUNCTIONMAP_HPP
55 #ifdef HAVE_TEUCHOS_COMPLEX
68 struct FunctionMap<MUMPS, float>
70 typedef TypeMap<MUMPS, float> typemap;
72 static void mumps_c(typemap::MUMPS_STRUC_C *mumps_par)
74 MUMPST::smumps_c(mumps_par);
78 struct FunctionMap<MUMPS,double>
80 typedef TypeMap<MUMPS, double> typemap;
82 static void mumps_c(typemap::MUMPS_STRUC_C *mumps_par)
84 MUMPST::dmumps_c(mumps_par);
88 #ifdef HAVE_TEUCHOS_COMPLEX
92 struct FunctionMap<MUMPS,MUMPST::CMUMPS_COMPLEX>
94 typedef TypeMap<MUMPS,MUMPST::CMUMPS_COMPLEX> typemap;
96 static void mumps_c(typemap::MUMPS_STRUC_C *mumps_par)
98 MUMPST::cmumps_c(mumps_par);
104 struct FunctionMap<MUMPS, std::complex<float> >
106 typedef TypeMap<MUMPS, std::complex<float> > typemap;
108 static void mumps_c(typemap::MUMPS_STRUC_C *mumps_par)
110 MUMPST::cmumps_c(mumps_par);
115 struct FunctionMap<MUMPS, std::complex<double> >
117 typedef TypeMap<MUMPS, std::complex<double> > typemap;
119 static void mumps_c(typemap::MUMPS_STRUC_C *mumps_par)
121 MUMPST::zmumps_c(mumps_par);
129 #endif // AMESOS2_MUMPS_FUNCTIONMAP_HPP
Declaration of Function mapping class for Amesos2.
Provides definition of MUMPS types as well as conversions and type traits.