SCOREC core
Parallel unstructured mesh tools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
apf::CavityOp Class Referenceabstract

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 More...
 
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

Definition at line 69 of file apfCavityOp.h.

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

Definition at line 77 of file apfCavityOp.h.

77  {
79  SKIP,
81  OK,
83  REQUEST };
request more elements around the entity
Definition: apfCavityOp.h:83
apply to the given entity
Definition: apfCavityOp.h:81
skip the given entity
Definition: apfCavityOp.h:79

Constructor & Destructor Documentation

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

constructor

Parameters
canModifytrue iff the operator can create or destroy mesh entities

The documentation for this class was generated from the following file: