MFEM
v4.3.0
Finite element discretization library

Base class for transfer algorithms that construct transfer Operators between two finite element (FE) spaces. More...
#include <transfer.hpp>
Public Member Functions  
GridTransfer (FiniteElementSpace &dom_fes_, FiniteElementSpace &ran_fes_)  
virtual  ~GridTransfer () 
Virtual destructor. More...  
void  SetOperatorType (Operator::Type type) 
Set the desired Operator::Type for the construction of all operators defined by the underlying transfer algorithm. More...  
virtual const Operator &  ForwardOperator ()=0 
Return an Operator that transfers GridFunctions from the domain FE space to GridFunctions in the range FE space. More...  
virtual const Operator &  BackwardOperator ()=0 
Return an Operator that transfers GridFunctions from the range FE space back to GridFunctions in the domain FE space. More...  
virtual const Operator &  TrueForwardOperator () 
Return an Operator that transfers truedof Vectors from the domain FE space to truedof Vectors in the range FE space. More...  
virtual const Operator &  TrueBackwardOperator () 
Return an Operator that transfers truedof Vectors from the range FE space back to truedof Vectors in the domain FE space. More...  
Protected Member Functions  
bool  Parallel () const 
const Operator &  MakeTrueOperator (FiniteElementSpace &fes_in, FiniteElementSpace &fes_out, const Operator &oper, OperatorHandle &t_oper) 
Protected Attributes  
FiniteElementSpace &  dom_fes 
Domain FE space. More...  
FiniteElementSpace &  ran_fes 
Range FE space. More...  
Operator::Type  oper_type 
Desired Operator::Type for the construction of all operators defined by the underlying transfer algorithm. It can be ignored by derived classes. More...  
OperatorHandle  fw_t_oper 
Forward truedof operator. More...  
OperatorHandle  bw_t_oper 
Backward truedof operator. More...  
bool  parallel 
Base class for transfer algorithms that construct transfer Operators between two finite element (FE) spaces.
Generally, the two FE spaces (domain and range) can be defined on different meshes.
Definition at line 29 of file transfer.hpp.
mfem::GridTransfer::GridTransfer  (  FiniteElementSpace &  dom_fes_, 
FiniteElementSpace &  ran_fes_  
) 
Construct a transfer algorithm between the domain, dom_fes_, and range, ran_fes_, FE spaces.
Definition at line 19 of file transfer.cpp.

inlinevirtual 
Virtual destructor.
Definition at line 66 of file transfer.hpp.

pure virtual 
Return an Operator that transfers GridFunctions from the range FE space back to GridFunctions in the domain FE space.
Implemented in mfem::L2ProjectionGridTransfer, and mfem::InterpolationGridTransfer.

pure virtual 
Return an Operator that transfers GridFunctions from the domain FE space to GridFunctions in the range FE space.
Implemented in mfem::L2ProjectionGridTransfer, and mfem::InterpolationGridTransfer.

protected 
Definition at line 34 of file transfer.cpp.

inlineprotected 
Definition at line 46 of file transfer.hpp.

inline 
Set the desired Operator::Type for the construction of all operators defined by the underlying transfer algorithm.
The default value is Operator::ANY_TYPE which typically corresponds to a matrixfree operator representation. Note that derived classes are not required to support this setting and can ignore it.
Definition at line 73 of file transfer.hpp.

inlinevirtual 
Return an Operator that transfers truedof Vectors from the range FE space back to truedof Vectors in the domain FE space.
This method is implemented in the base class, based on BackwardOperator(), however, derived classes can overload the construction, if necessary.
Definition at line 97 of file transfer.hpp.

inlinevirtual 
Return an Operator that transfers truedof Vectors from the domain FE space to truedof Vectors in the range FE space.
This method is implemented in the base class, based on ForwardOperator(), however, derived classes can overload the construction, if necessary.
Definition at line 87 of file transfer.hpp.

protected 
Backward truedof operator.
Definition at line 41 of file transfer.hpp.

protected 
Domain FE space.
Definition at line 32 of file transfer.hpp.

protected 
Forward truedof operator.
Definition at line 40 of file transfer.hpp.

protected 
Desired Operator::Type for the construction of all operators defined by the underlying transfer algorithm. It can be ignored by derived classes.
Definition at line 38 of file transfer.hpp.

protected 
Definition at line 44 of file transfer.hpp.

protected 
Range FE space.
Definition at line 33 of file transfer.hpp.