21 #ifndef IFPACK_2_PRECONDITIONER_H
22 #define IFPACK_2_PRECONDITIONER_H
26 #include <Ifpack2_Factory.hpp>
28 template <
class Level>
40 typedef std::map<std::string, Preconditioner>
map_t;
46 void create(
const Teuchos::RCP<amr::matrix_t>& A, Level* level_p =
nullptr);
48 Teuchos::RCP<amr::operator_t>
get();
KokkosClassic::DefaultNode::DefaultNodeType node_t
Ifpack2::Preconditioner< amr::scalar_t, amr::local_ordinal_t, amr::global_ordinal_t, amr::node_t > precond_t
Ifpack2Preconditioner(Preconditioner prec)
void create(const Teuchos::RCP< amr::matrix_t > &A, Level *level_p=nullptr)
std::map< std::string, Preconditioner > map_t
std::string prectype_m
preconditioner type
Teuchos::RCP< Teuchos::ParameterList > params_mp
parameter list of preconditioner
amr::Preconditioner Preconditioner
Teuchos::RCP< precond_t > prec_mp
static void fillMap(map_t &map)
Teuchos::RCP< amr::operator_t> get()
void init_m(Preconditioner prec)