1 #ifndef IFPACK2_DETAILS_LAPACKSUPPORTSSCALAR_HPP 2 #define IFPACK2_DETAILS_LAPACKSUPPORTSSCALAR_HPP 4 #include "Teuchos_ConfigDefs.hpp" 6 #ifdef HAVE_TEUCHOS_COMPLEX 8 #endif // HAVE_TEUCHOS_COMPLEX 16 template<
class ScalarType>
19 const static bool value =
false;
25 const static bool value =
true;
29 class LapackSupportsScalar<double> {
31 const static bool value =
true;
34 #ifdef HAVE_TEUCHOS_COMPLEX 36 class LapackSupportsScalar<
std::complex<float> > {
38 const static bool value =
true;
42 class LapackSupportsScalar<
std::complex<double> > {
44 const static bool value =
true;
46 #endif // HAVE_TEUCHOS_COMPLEX 51 #endif // IFPACK2_DETAILS_LAPACKSUPPORTSSCALAR_HPP
Ifpack2 implementation details.
Preconditioners and smoothers for Tpetra sparse matrices.
Definition: Ifpack2_AdditiveSchwarz_decl.hpp:73
Type traits class that says whether Teuchos::LAPACK has a valid implementation for the given ScalarTy...
Definition: Ifpack2_Details_LapackSupportsScalar.hpp:17