Public Types | Public Member Functions | Public Attributes

apf::CavityOp Class Reference

user-defined mesh cavity operator More...

List of all members.

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

Meshmesh
 mesh pointer for convenience

Detailed Description

user-defined mesh cavity operator


Member Enumeration Documentation

outcome of a setEntity call

Enumerator:
SKIP 

skip the given entity

OK 

apply to the given entity

REQUEST 

request more elements around the entity


Constructor & Destructor Documentation

apf::CavityOp::CavityOp ( Mesh m,
bool  canModify = false 
)

constructor

Parameters:
canModify true iff the operator can create or destroy mesh entities

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines