Template Numerical Library version\ main:bb09b17
|
A Ginkgo Convergence logger with a TNL iterative solver monitor. More...
#include <TNL/Solvers/GinkgoConvergenceLoggerMonitor.h>
Public Member Functions | |
GinkgoConvergenceLoggerMonitor (const gko::log::Logger::mask_type &enabled_events=gko::log::Logger::all_events_mask, IterativeSolverMonitor< ValueType, IndexType > *solver_monitor=nullptr) | |
GinkgoConvergenceLoggerMonitor (std::shared_ptr< const gko::Executor > exec, const gko::log::Logger::mask_type &enabled_events=gko::log::Logger::all_events_mask, IterativeSolverMonitor< ValueType, IndexType > *solver_monitor=nullptr) | |
void | on_criterion_check_completed (const gko::stop::Criterion *criterion, const gko::size_type &num_iterations, const gko::LinOp *r, const gko::LinOp *tau, const gko::LinOp *implicit_tau_sq, const gko::LinOp *x, const gko::uint8 &stopping_id, const bool &set_finalized, const gko::array< gko::stopping_status > *status, const bool &one_changed, const bool &all_converged) const override |
void | on_criterion_check_completed (const gko::stop::Criterion *criterion, const gko::size_type &num_iterations, const gko::LinOp *r, const gko::LinOp *tau, const gko::LinOp *x, const gko::uint8 &stopping_id, const bool &set_finalized, const gko::array< gko::stopping_status > *status, const bool &one_changed, const bool &all_converged) const override |
void | set_solver_monitor (IterativeSolverMonitor< ValueType, IndexType > *solver_monitor) |
Static Public Member Functions | |
static std::unique_ptr< GinkgoConvergenceLoggerMonitor > | create (const gko::log::Logger::mask_type &enabled_events=gko::log::Logger::all_events_mask, IterativeSolverMonitor< ValueType, IndexType > *solver_monitor=nullptr) |
static std::unique_ptr< GinkgoConvergenceLoggerMonitor > | create (std::shared_ptr< const gko::Executor > exec, const gko::log::Logger::mask_type &enabled_events=gko::log::Logger::all_events_mask, IterativeSolverMonitor< ValueType, IndexType > *solver_monitor=nullptr) |
A Ginkgo Convergence logger with a TNL iterative solver monitor.