MFEM
v4.1.0
Finite element discretization library

Base class for transfer algorithms that construct transfer Operators between two finite element (FE) spaces. More...
#include <fespace.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 715 of file fespace.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 2359 of file fespace.cpp.

inlinevirtual 
Virtual destructor.
Definition at line 752 of file fespace.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 2374 of file fespace.cpp.

inlineprotected 
Definition at line 732 of file fespace.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 759 of file fespace.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 783 of file fespace.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 773 of file fespace.hpp.

protected 
Backward truedof operator.
Definition at line 727 of file fespace.hpp.

protected 
Domain FE space.
Definition at line 718 of file fespace.hpp.

protected 
Forward truedof operator.
Definition at line 726 of file fespace.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 724 of file fespace.hpp.

protected 
Definition at line 730 of file fespace.hpp.

protected 
Range FE space.
Definition at line 719 of file fespace.hpp.