user-defined mesh cavity operator More...
Public Types | |
enum | Outcome { SKIP, OK, REQUEST } |
outcome of a setEntity call More... | |
Public Member Functions | |
CavityOp (Mesh *m, bool canModify=false) | |
constructor | |
virtual Outcome | setEntity (MeshEntity *e)=0 |
evaluate whether what to do with this entity | |
virtual void | apply ()=0 |
apply the operator on the (now local) cavity | |
void | applyToDimension (int d) |
parallel collective operation over entities of one dimension | |
bool | requestLocality (MeshEntity **entities, int count) |
within setEntity, require that entities be made local | |
void | preDeletion (MeshEntity *e) |
call before deleting a mesh entity during the operation | |
Public Attributes | |
Mesh * | mesh |
mesh pointer for convenience |
user-defined mesh cavity operator
Definition at line 69 of file apfCavityOp.h.
outcome of a setEntity call
SKIP |
skip the given entity |
OK |
apply to the given entity |
REQUEST |
request more elements around the entity |
Definition at line 77 of file apfCavityOp.h.
{ SKIP, OK, REQUEST };
apf::CavityOp::CavityOp | ( | Mesh * | m, | |
bool | canModify = false | |||
) |
constructor
canModify | true iff the operator can create or destroy mesh entities |