The APF Mesh modification interface. More...
Go to the source code of this file.
Classes | |
class | apf::Mesh2 |
Extended mesh interface for modification. More... | |
class | apf::BuildCallback |
User-defined entity creation callback. More... | |
Namespaces | |
namespace | apf |
All APF symbols are contained in this namespace. | |
Functions | |
void | apf::migrate (Mesh2 *m, Migration *plan) |
APF's migration function, works on apf::Mesh2. | |
void | apf::setMigrationLimit (size_t maxElements) |
set the maximum elements that apf::migrate moves at once | |
void | apf::displaceMesh (Mesh2 *m, Field *d, double factor=1.0) |
add a field (times a factor) to the mesh coordinates | |
MeshEntity * | apf::makeOrFind (Mesh2 *m, ModelEntity *c, int type, MeshEntity **down, BuildCallback *cb=0, bool *p_made=0) |
like apf::Mesh2::createEntity, but returns already existing entities | |
MeshEntity * | apf::buildElement (Mesh2 *m, ModelEntity *c, int type, MeshEntity **verts, BuildCallback *cb=0) |
build an entity from its vertices | |
MeshEntity * | apf::buildOneElement (Mesh2 *m, ModelEntity *c, int type, Vector3 const *points) |
build a one-element mesh | |
void | apf::initResidence (Mesh2 *m, int dim) |
Set entity residence based on remote copies. | |
void | apf::stitchMesh (Mesh2 *m) |
infer all remote copies from those of vertices | |
void | apf::clear (Mesh2 *m) |
removes all entities and fields. |
The APF Mesh modification interface.
Definition in file apfMesh2.h.