![]() |
MFEM
v4.5.2
Finite element discretization library
|
ParMesh rebalancing operator. More...
#include <mesh_operators.hpp>
Public Member Functions | |
virtual void | Reset () |
Empty. 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 | |
virtual int | ApplyImpl (Mesh &mesh) |
Rebalance a parallel mesh (only non-conforming parallel meshes are supported). More... | |
![]() | |
MeshOperator () | |
Constructor to be used by derived classes. 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 } |
ParMesh rebalancing operator.
If the mesh is a parallel mesh, perform rebalancing; otherwise, do nothing.
Definition at line 430 of file mesh_operators.hpp.
|
protectedvirtual |
Rebalance a parallel mesh (only non-conforming parallel meshes are supported).
Implements mfem::MeshOperator.
Definition at line 296 of file mesh_operators.cpp.
|
inlinevirtual |