#include <ginkgo.hpp>
|
void | apply_impl (const gko::LinOp *b, gko::LinOp *x) const override |
|
void | apply_impl (const gko::LinOp *alpha, const gko::LinOp *b, const gko::LinOp *beta, gko::LinOp *x) const override |
|
This class wraps an MFEM Operator for Ginkgo, to make its Mult() function available to Ginkgo, provided the input and output vectors are of the VectorWrapper type. Note that this class does NOT take ownership of the MFEM Operator.
Definition at line 224 of file ginkgo.hpp.
◆ OperatorWrapper()
mfem::Ginkgo::OperatorWrapper::OperatorWrapper |
( |
std::shared_ptr< const gko::Executor > | exec, |
|
|
gko::size_type | size = 0, |
|
|
const Operator * | oper = NULL ) |
|
inline |
◆ apply_impl() [1/2]
void mfem::Ginkgo::OperatorWrapper::apply_impl |
( |
const gko::LinOp * | alpha, |
|
|
const gko::LinOp * | b, |
|
|
const gko::LinOp * | beta, |
|
|
gko::LinOp * | x ) const |
|
overrideprotected |
◆ apply_impl() [2/2]
void mfem::Ginkgo::OperatorWrapper::apply_impl |
( |
const gko::LinOp * | b, |
|
|
gko::LinOp * | x ) const |
|
overrideprotected |
The documentation for this class was generated from the following files: