Reference documentation for deal.II version 9.2.0
|
#include <deal.II/lac/ginkgo_solver.h>
Classes | |
struct | AdditionalData |
Public Member Functions | |
SolverIR (SolverControl &solver_control, const std::string &exec_type, const AdditionalData &data=AdditionalData()) | |
SolverIR (SolverControl &solver_control, const std::string &exec_type, const std::shared_ptr< gko::LinOpFactory > &inner_solver, const AdditionalData &data=AdditionalData()) | |
Public Member Functions inherited from GinkgoWrappers::SolverBase< double, int32_t > | |
SolverBase (SolverControl &solver_control, const std::string &exec_type) | |
virtual | ~SolverBase ()=default |
void | initialize (const SparseMatrix< double > &matrix) |
void | apply (Vector< double > &solution, const Vector< double > &rhs) |
void | solve (const SparseMatrix< double > &matrix, Vector< double > &solution, const Vector< double > &rhs) |
SolverControl & | control () const |
Protected Attributes | |
const AdditionalData | additional_data |
Protected Attributes inherited from GinkgoWrappers::SolverBase< double, int32_t > | |
SolverControl & | solver_control |
std::shared_ptr< gko::LinOpFactory > | solver_gen |
std::shared_ptr< gko::stop::ResidualNormReduction<>::Factory > | residual_criterion |
std::shared_ptr< gko::log::Convergence<> > | convergence_logger |
std::shared_ptr< gko::stop::Combined::Factory > | combined_factory |
std::shared_ptr< gko::Executor > | executor |
An implementation of the solver interface using the Ginkgo IR solver.
Iterative refinement (IR) is an iterative method that uses another coarse method to approximate the error of the current solution via the current residual.
Definition at line 521 of file ginkgo_solver.h.
GinkgoWrappers::SolverIR< ValueType, IndexType >::SolverIR | ( | SolverControl & | solver_control, |
const std::string & | exec_type, | ||
const AdditionalData & | data = AdditionalData() |
||
) |
Constructor.
[in,out] | solver_control | The solver control object is then used to set the parameters and setup the IR solver from the IR factory which solves the linear system. |
[in] | exec_type | The execution paradigm for the IR solver. |
[in] | data | The additional data required by the solver. |
Definition at line 482 of file ginkgo_solver.cc.
GinkgoWrappers::SolverIR< ValueType, IndexType >::SolverIR | ( | SolverControl & | solver_control, |
const std::string & | exec_type, | ||
const std::shared_ptr< gko::LinOpFactory > & | inner_solver, | ||
const AdditionalData & | data = AdditionalData() |
||
) |
Constructor.
[in,out] | solver_control | The solver control object is then used to set the parameters and setup the IR solver from the IR factory which solves the linear system. |
[in] | exec_type | The execution paradigm for the IR solver. |
[in] | inner_solver | The Inner solver for the IR solver. |
[in] | data | The additional data required by the solver. |
Definition at line 496 of file ginkgo_solver.cc.
|
protected |
Store a copy of the settings for this particular solver.
Definition at line 567 of file ginkgo_solver.h.