MFEM  v4.5.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Member Functions | List of all members
mfem::Ginkgo::OperatorWrapper Class Reference

#include <ginkgo.hpp>

Inheritance diagram for mfem::Ginkgo::OperatorWrapper:
[legend]
Collaboration diagram for mfem::Ginkgo::OperatorWrapper:
[legend]

Public Member Functions

 OperatorWrapper (std::shared_ptr< const gko::Executor > exec, gko::size_type size=0, const Operator *oper=NULL)
 
 gko::EnableCreateMethod ()
 

Protected Member Functions

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
 

Detailed Description

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 212 of file ginkgo.hpp.

Constructor & Destructor Documentation

mfem::Ginkgo::OperatorWrapper::OperatorWrapper ( std::shared_ptr< const gko::Executor >  exec,
gko::size_type  size = 0,
const Operator oper = NULL 
)
inline

Definition at line 217 of file ginkgo.hpp.

Member Function Documentation

void mfem::Ginkgo::OperatorWrapper::apply_impl ( const gko::LinOp *  b,
gko::LinOp *  x 
) const
overrideprotected

Definition at line 197 of file ginkgo.cpp.

void mfem::Ginkgo::OperatorWrapper::apply_impl ( const gko::LinOp *  alpha,
const gko::LinOp *  b,
const gko::LinOp *  beta,
gko::LinOp *  x 
) const
overrideprotected

Definition at line 207 of file ginkgo.cpp.

mfem::Ginkgo::OperatorWrapper::gko::EnableCreateMethod ( )
inline

Definition at line 221 of file ginkgo.hpp.


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