SCOREC core
Parallel unstructured mesh tools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Typedefs | Functions
apfConvert.h File Reference

algorithms for mesh format conversion More...

Go to the source code of this file.

Namespaces

 apf
 All APF symbols are contained in this namespace.
 

Typedefs

typedef std::map< int,
MeshEntity * > 
apf::GlobalToVert
 a map from global ids to vertex objects
 

Functions

void apf::convert (Mesh *in, Mesh2 *out, MeshEntity **nodes=NULL, MeshEntity **elems=NULL, bool copy_data=true)
 convert one mesh data structure to another More...
 
void apf::assemble (Mesh2 *m, const int *conn, int nelem, int etype, GlobalToVert &globalToVert)
 assemble a mixed-cell-type mesh from just a connectivity array More...
 
void apf::finalise (Mesh2 *m, GlobalToVert &globalToVert)
 finalise construction of a mixed-cell-type mesh from just a connectivity array More...
 
void apf::construct (Mesh2 *m, const int *conn, int nelem, int etype, GlobalToVert &globalToVert)
 construct a mesh from just a connectivity array More...
 
void apf::setCoords (Mesh2 *m, const double *coords, int nverts, GlobalToVert &globalToVert)
 Assign coordinates to the mesh. More...
 
void apf::destruct (Mesh2 *m, int *&conn, int &nelem, int &etype, int cellDim=-1)
 convert an apf::Mesh2 object into a connectivity array More...
 
void apf::extractCoords (Mesh2 *m, double *&coords, int &nverts)
 get a contiguous set of global vertex coordinates More...
 

Detailed Description

algorithms for mesh format conversion

Definition in file apfConvert.h.