![]() |
MFEM
v4.3.0
Finite element discretization library
|
#include <mesh_operators.hpp>
Public Member Functions | |
MeshOperatorSequence () | |
Constructor. Use the Append() method to create the sequence. More... | |
virtual | ~MeshOperatorSequence () |
Delete all operators from the sequence. More... | |
void | Append (MeshOperator *mc) |
Add an operator to the end of the sequence. The MeshOperatorSequence assumes ownership of the operator. More... | |
Array< MeshOperator * > & | GetSequence () |
Access the underlying sequence. More... | |
virtual void | Reset () |
Reset all MeshOperators in the sequence. More... | |
![]() | |
bool | Apply (Mesh &mesh) |
Perform the mesh operation. More... | |
bool | Stop () const |
Check if STOP action is requested, e.g. stopping criterion is satisfied. More... | |
bool | Repeat () const |
Check if REPEAT action is requested, i.e. FiniteElementSpaces and GridFunctions need to be updated, and Apply() must be called again. More... | |
bool | Continue () const |
Check if CONTINUE action is requested, i.e. FiniteElementSpaces and GridFunctions need to be updated and computations should continue. More... | |
bool | Refined () const |
Check if the mesh was refined. More... | |
bool | Derefined () const |
Check if the mesh was de-refined. More... | |
bool | Rebalanced () const |
Check if the mesh was rebalanced. More... | |
int | GetActionInfo () const |
Get the full ActionInfo value generated by the last call to Apply(). More... | |
virtual | ~MeshOperator () |
The destructor is virtual. More... | |
Protected Member Functions | |
MeshOperatorSequence (const MeshOperatorSequence &) | |
Do not allow copy construction, due to assumed ownership. More... | |
virtual int | ApplyImpl (Mesh &mesh) |
Apply the MeshOperatorSequence. More... | |
![]() | |
MeshOperator () | |
Constructor to be used by derived classes. More... | |
Protected Attributes | |
int | step |
Array< MeshOperator * > | sequence |
MeshOperators sequence, owned by us. More... | |
Additional Inherited Members | |
![]() | |
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 142 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 149 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 152 of file mesh_operators.hpp.
|
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.