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
apf::CavityOp::CavityOp | ( | Mesh * | m, | |
bool | canModify = false | |||
) |
constructor
canModify | true iff the operator can create or destroy mesh entities |