Ginkgo
Generated from pipelines/1556235455 branch based on develop. Ginkgo version 1.9.0
A numerical linear algebra library targeting many-core architectures
|
This struct is used to pass parameters to the EnableDefaultCriterionFactoryCriterionFactory::generate() method. More...
#include <ginkgo/core/stop/criterion.hpp>
Public Member Functions | |
CriterionArgs (std::shared_ptr< const LinOp > system_matrix, std::shared_ptr< const LinOp > b, const LinOp *x, const LinOp *initial_residual=nullptr) | |
Public Attributes | |
std::shared_ptr< const LinOp > | system_matrix |
std::shared_ptr< const LinOp > | b |
const LinOp * | x |
const LinOp * | initial_residual |
This struct is used to pass parameters to the EnableDefaultCriterionFactoryCriterionFactory::generate() method.
It is the ComponentsType of CriterionFactory.
nullptr
as only some stopping criterion require them to be set. An example is the ResidualNormReduction
which really requires the initial_residual
to be set.