MFEM v4.10.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::Ginkgo::EnableConvergenceLogger< VecType > Class Template Reference

#include <ginkgo.hpp>

Inheritance diagram for mfem::Ginkgo::EnableConvergenceLogger< VecType >:
[legend]
Collaboration diagram for mfem::Ginkgo::EnableConvergenceLogger< VecType >:
[legend]

Public Member Functions

 EnableConvergenceLogger (std::shared_ptr< const gko::Executor > exec, const gko::LinOp *matrix, const VecType *b, bool compute_real_residual=false)
 
- Public Member Functions inherited from mfem::Ginkgo::ConvergenceLogger
int get_num_iterations ()
 
real_t get_final_residual_norm ()
 
bool has_converged ()
 
void on_iteration_complete (const gko::LinOp *op, const gko::size_type &iteration, const gko::LinOp *residual, const gko::LinOp *solution, const gko::LinOp *residual_norm) const override
 
void on_iteration_complete (const gko::LinOp *op, const gko::size_type &iteration, const gko::LinOp *residual, const gko::LinOp *solution, const gko::LinOp *residual_norm, const gko::LinOp *implicit_sq_residual_norm) const override
 
void on_iteration_complete (const gko::LinOp *op, const gko::LinOp *rhs, const gko::LinOp *solution, const gko::size_type &iteration, const gko::LinOp *residual, const gko::LinOp *residual_norm, const gko::LinOp *implicit_sq_residual_norm, const gko::array< gko::stopping_status > *status, bool stopped) const override
 
 ConvergenceLogger ()
 

Additional Inherited Members

- Protected Attributes inherited from mfem::Ginkgo::ConvergenceLogger
gko::size_type num_iterations
 
real_t final_residual_norm
 
bool convergence_status
 

Detailed Description

template<typename VecType>
class mfem::Ginkgo::EnableConvergenceLogger< VecType >

This class adds ConvergenceLogger functionality that depends on the type of vector used to initialize the log. This is the version should be used by Ginkgo solvers.

Definition at line 570 of file ginkgo.hpp.

Constructor & Destructor Documentation

◆ EnableConvergenceLogger()

template<typename VecType >
mfem::Ginkgo::EnableConvergenceLogger< VecType >::EnableConvergenceLogger ( std::shared_ptr< const gko::Executor > exec,
const gko::LinOp * matrix,
const VecType * b,
bool compute_real_residual = false )
inline

Definition at line 574 of file ginkgo.hpp.


The documentation for this class was generated from the following file: