|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
16 #ifndef dealii_ginkgo_solver_h
17 # define dealii_ginkgo_solver_h
22 # ifdef DEAL_II_WITH_GINKGO
30 # include <ginkgo/ginkgo.hpp>
49 template <
typename ValueType,
typename IndexType>
124 apply(Vector<ValueType> &solution,
const Vector<ValueType> &rhs);
133 Vector<ValueType> & solution,
134 const Vector<ValueType> & rhs);
159 std::shared_ptr<gko::stop::ResidualNormReduction<>::Factory>
214 template <
typename ValueType =
double,
typename IndexType =
int32_t>
254 const std::shared_ptr<gko::LinOpFactory> &preconditioner,
270 template <
typename ValueType =
double,
typename IndexType =
int32_t>
310 const std::shared_ptr<gko::LinOpFactory> &preconditioner,
328 template <
typename ValueType =
double,
typename IndexType =
int32_t>
368 const std::shared_ptr<gko::LinOpFactory> &preconditioner,
395 template <
typename ValueType =
double,
typename IndexType =
int32_t>
435 const std::shared_ptr<gko::LinOpFactory> &preconditioner,
450 template <
typename ValueType =
double,
typename IndexType =
int32_t>
501 const std::shared_ptr<gko::LinOpFactory> &preconditioner,
520 template <
typename ValueType =
double,
typename IndexType =
int32_t>
560 const std::shared_ptr<gko::LinOpFactory> &inner_solver,
575 # endif // DEAL_II_WITH_GINKGO
SolverBase(SolverControl &solver_control, const std::string &exec_type)
std::shared_ptr< gko::stop::ResidualNormReduction<>::Factory > residual_criterion
SolverControl & control() const
std::shared_ptr< gko::log::Convergence<> > convergence_logger
std::shared_ptr< gko::matrix::Csr< ValueType, IndexType > > system_matrix
void initialize_ginkgo_log()
AdditionalData(const unsigned int restart_parameter=30)
const AdditionalData additional_data
void initialize(const SparseMatrix< ValueType > &matrix)
SolverIR(SolverControl &solver_control, const std::string &exec_type, const AdditionalData &data=AdditionalData())
SolverBicgstab(SolverControl &solver_control, const std::string &exec_type, const AdditionalData &data=AdditionalData())
std::shared_ptr< gko::Executor > executor
SolverCG(SolverControl &solver_control, const std::string &exec_type, const AdditionalData &data=AdditionalData())
SolverFCG(SolverControl &solver_control, const std::string &exec_type, const AdditionalData &data=AdditionalData())
#define DEAL_II_NAMESPACE_OPEN
SolverGMRES(SolverControl &solver_control, const std::string &exec_type, const AdditionalData &data=AdditionalData())
@ matrix
Contents is actually a matrix.
void apply(Vector< ValueType > &solution, const Vector< ValueType > &rhs)
const AdditionalData additional_data
const AdditionalData additional_data
std::shared_ptr< gko::LinOpFactory > solver_gen
void solve(const SparseMatrix< ValueType > &matrix, Vector< ValueType > &solution, const Vector< ValueType > &rhs)
unsigned int restart_parameter
std::shared_ptr< gko::stop::Combined::Factory > combined_factory
const std::string exec_type
virtual ~SolverBase()=default
const AdditionalData additional_data
SolverCGS(SolverControl &solver_control, const std::string &exec_type, const AdditionalData &data=AdditionalData())
#define DEAL_II_NAMESPACE_CLOSE
SolverControl & solver_control
const AdditionalData additional_data
const AdditionalData additional_data