21 #ifndef AMR_SMOOTHER_H
22 #define AMR_SMOOTHER_H
28 #include "Ifpack2_Factory.hpp"
70 void smooth(
const Teuchos::RCP<vector_t>& x,
71 const Teuchos::RCP<vector_t>& b);
KokkosClassic::DefaultNode::DefaultNodeType node_t
Tpetra::Vector< scalar_t, local_ordinal_t, global_ordinal_t, node_t > vector_t
Tpetra::CrsMatrix< scalar_t, local_ordinal_t, global_ordinal_t, node_t > matrix_t
Smoother
All supported Ifpack2 smoothers.
AmrSmoother(const Teuchos::RCP< const matrix_t > &A, const Smoother &smoother, lo_t nSweeps)
Ifpack2::Preconditioner< scalar_t, lo_t, go_t, node_t > preconditioner_t
amr::local_ordinal_t lo_t
Teuchos::RCP< preconditioner_t > prec_mp
Preconditioner instance.
amr::global_ordinal_t go_t
Teuchos::RCP< Teuchos::ParameterList > params_mp
Parameters of preconditioner.
void initParameter_m(const Smoother &smoother, lo_t nSweeps)
void smooth(const Teuchos::RCP< vector_t > &x, const Teuchos::RCP< vector_t > &b)
static Smoother convertToEnumSmoother(const std::string &smoother)