MFEM v4.7.0
Finite element discretization library
|
#include <mesh_operators.hpp>
Public Member Functions | |
MeshOperatorSequence () | |
Constructor. Use the Append() method to create the sequence. | |
virtual | ~MeshOperatorSequence () |
Delete all operators from the sequence. | |
void | Append (MeshOperator *mc) |
Add an operator to the end of the sequence. The MeshOperatorSequence assumes ownership of the operator. | |
Array< MeshOperator * > & | GetSequence () |
Access the underlying sequence. | |
virtual void | Reset () |
Reset all MeshOperators in the sequence. | |
Public Member Functions inherited from mfem::MeshOperator | |
bool | Apply (Mesh &mesh) |
Perform the mesh operation. | |
bool | Stop () const |
Check if STOP action is requested, e.g. stopping criterion is satisfied. | |
bool | Repeat () const |
Check if REPEAT action is requested, i.e. FiniteElementSpaces and GridFunctions need to be updated, and Apply() must be called again. | |
bool | Continue () const |
Check if CONTINUE action is requested, i.e. FiniteElementSpaces and GridFunctions need to be updated and computations should continue. | |
bool | Refined () const |
Check if the mesh was refined. | |
bool | Derefined () const |
Check if the mesh was de-refined. | |
bool | Rebalanced () const |
Check if the mesh was rebalanced. | |
int | GetActionInfo () const |
Get the full ActionInfo value generated by the last call to Apply(). | |
virtual | ~MeshOperator () |
The destructor is virtual. | |
Protected Member Functions | |
MeshOperatorSequence (const MeshOperatorSequence &) | |
Do not allow copy construction, due to assumed ownership. | |
MeshOperatorSequence & | operator= (const MeshOperatorSequence &s)=delete |
Do not allow copy assignment, due to assumed ownership. | |
virtual int | ApplyImpl (Mesh &mesh) |
Apply the MeshOperatorSequence. | |
Protected Member Functions inherited from mfem::MeshOperator | |
MeshOperator () | |
Constructor to be used by derived classes. | |
Protected Attributes | |
int | step |
Array< MeshOperator * > | sequence |
MeshOperators sequence, owned by us. | |
Additional Inherited Members | |
Public Types inherited from mfem::MeshOperator | |
enum | Action { NONE = 0 , CONTINUE = 1 , STOP = 2 , REPEAT = 3 , MASK_UPDATE = 1 , MASK_ACTION = 3 } |
Action and information constants and masks. More... | |
enum | Info { REFINED = 4*1 , DEREFINED = 4*2 , REBALANCED = 4*3 , MASK_INFO = ~3 } |
Composition of MeshOperators into a sequence. Use the Append() method to create the sequence.
Definition at line 126 of file mesh_operators.hpp.
|
inlineprotected |
Do not allow copy construction, due to assumed ownership.
Definition at line 133 of file mesh_operators.hpp.
|
inline |
Constructor. Use the Append() method to create the sequence.
Definition at line 145 of file mesh_operators.hpp.
|
virtual |
Delete all operators from the sequence.
Definition at line 18 of file mesh_operators.cpp.
|
inline |
Add an operator to the end of the sequence. The MeshOperatorSequence assumes ownership of the operator.
Definition at line 152 of file mesh_operators.hpp.
|
protectedvirtual |
Apply the MeshOperatorSequence.
Implements mfem::MeshOperator.
Definition at line 27 of file mesh_operators.cpp.
|
inline |
Access the underlying sequence.
Definition at line 155 of file mesh_operators.hpp.
|
protecteddelete |
Do not allow copy assignment, due to assumed ownership.
|
virtual |
Reset all MeshOperators in the sequence.
Implements mfem::MeshOperator.
Definition at line 44 of file mesh_operators.cpp.
|
protected |
MeshOperators sequence, owned by us.
Definition at line 130 of file mesh_operators.hpp.
|
protected |
Definition at line 129 of file mesh_operators.hpp.