Reference documentation for deal.II version 9.1.1
|
#include <deal.II/lac/ginkgo_solver.h>
Classes | |
struct | AdditionalData |
Public Member Functions | |
SolverBicgstab (SolverControl &solver_control, const std::string &exec_type, const AdditionalData &data=AdditionalData()) | |
SolverBicgstab (SolverControl &solver_control, const std::string &exec_type, const std::shared_ptr< gko::LinOpFactory > &preconditioner, const AdditionalData &data=AdditionalData()) | |
Public Member Functions inherited from GinkgoWrappers::SolverBase< ValueType, IndexType > | |
SolverBase (SolverControl &solver_control, const std::string &exec_type) | |
virtual | ~SolverBase ()=default |
void | initialize (const SparseMatrix< ValueType > &matrix) |
void | apply (Vector< ValueType > &solution, const Vector< ValueType > &rhs) |
void | solve (const SparseMatrix< ValueType > &matrix, Vector< ValueType > &solution, const Vector< ValueType > &rhs) |
SolverControl & | control () const |
Protected Attributes | |
const AdditionalData | additional_data |
Protected Attributes inherited from GinkgoWrappers::SolverBase< ValueType, IndexType > | |
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 Bicgstab solver.
Definition at line 271 of file ginkgo_solver.h.
SolverBicgstab< ValueType, IndexType >::SolverBicgstab | ( | 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 Bicgstab solver from the Bicgstab factory which solves the linear system. |
[in] | exec_type | The execution paradigm for the Bicgstab solver. |
[in] | data | The additional data required by the solver. |
Definition at line 337 of file ginkgo_solver.cc.
SolverBicgstab< ValueType, IndexType >::SolverBicgstab | ( | SolverControl & | solver_control, |
const std::string & | exec_type, | ||
const std::shared_ptr< gko::LinOpFactory > & | preconditioner, | ||
const AdditionalData & | data = AdditionalData() |
||
) |
Constructor.
[in,out] | solver_control | The solver control object is then used to set the parameters and setup the Bicgstab solver from the Bicgstab factory which solves the linear system. |
[in] | exec_type | The execution paradigm for the Bicgstab solver. |
[in] | preconditioner | The preconditioner for the solver. |
[in] | data | The additional data required by the solver. |
Definition at line 353 of file ginkgo_solver.cc.
|
protected |
Store a copy of the settings for this particular solver.
Definition at line 317 of file ginkgo_solver.h.