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

#include <ginkgo.hpp>

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

Public Member Functions

 EnableResidualLogger (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::ResidualLogger
void write () const
 
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
 
 ResidualLogger (bool compute_real_residual)
 

Additional Inherited Members

- Protected Attributes inherited from mfem::Ginkgo::ResidualLogger
std::vector< real_tresidual_norms {}
 
std::vector< std::size_t > iterations {}
 
const bool compute_real_residual
 

Detailed Description

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

This class adds ResidualLogger 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 770 of file ginkgo.hpp.

Constructor & Destructor Documentation

◆ EnableResidualLogger()

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

Definition at line 774 of file ginkgo.hpp.


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