Classes | Namespaces | Functions

apfNumbering.h File Reference

Local and global numbering interface. More...

Go to the source code of this file.

Classes

struct  apf::Node
 Node identifier. More...

Namespaces

namespace  apf
 

All APF symbols are contained in this namespace.


Functions

Numbering * apf::createNumbering (Field *f)
 Create a Numbering of degrees of freedom of a Field.
Numbering * apf::createNumbering (Mesh *mesh, const char *name, FieldShape *shape, int components)
 Create a generally-defined Numbering.
void apf::destroyNumbering (Numbering *n)
 Destroy a Numbering.
void apf::fix (Numbering *n, MeshEntity *e, int node, int component, bool fixed)
 Set the fixed/free status of a degree of freedom,.
bool apf::isFixed (Numbering *n, MeshEntity *e, int node, int component)
 Check whether a degree of freedom is fixed.
bool apf::isNumbered (Numbering *n, MeshEntity *e, int node, int component)
 Check whether a degree of freedom is numbered.
void apf::number (Numbering *n, MeshEntity *e, int node, int component, int number)
 number a degree of freedom
int apf::getNumber (Numbering *n, MeshEntity *e, int node, int component)
 get a degree of freedom number
Field * apf::getField (Numbering *n)
 get the field being numbered
FieldShape * apf::getShape (Numbering *n)
 get the FieldShape used by a Numbering
const char * apf::getName (Numbering *n)
 get the name of a Numbering
Mesh * apf::getMesh (Numbering *n)
 get the mesh associated with a Numbering
int apf::getElementNumbers (Numbering *n, MeshEntity *e, NewArray< int > &numbers)
 returns the node numbers of an element
int apf::countFixed (Numbering *n)
 return the number of fixed degrees of freedom
void apf::synchronize (Numbering *n, Sharing *shr=0)
 numbers non-owned nodes with the values from their owners
Numbering * apf::numberOwnedDimension (Mesh *mesh, const char *name, int dim)
 number the local owned entities of a given dimension
Numbering * apf::numberOverlapDimension (Mesh *mesh, const char *name, int dim)
 number all local entities of a given dimension
Numbering * apf::numberElements (Mesh *mesh, const char *name)
 number the local elements
Numbering * apf::numberOverlapNodes (Mesh *mesh, const char *name, FieldShape *s=0)
 number all local nodes
Numbering * apf::numberOwnedNodes (Mesh *mesh, const char *name, FieldShape *s=0, Sharing *shr=0)
 number the local owned nodes
int apf::countNodes (Numbering *n)
 count the number of nodes that have been numbered
void apf::getNodes (Numbering *n, DynamicArray< Node > &nodes)
 get an array of numbered nodes
void apf::getNodesOnClosure (Mesh *m, ModelEntity *me, DynamicArray< Node > &on, FieldShape *sh=0)
 get nodes on the closure of a model entity
GlobalNumbering * apf::createGlobalNumbering (Mesh *mesh, const char *name, FieldShape *shape, int components=1)
 create global numbering
Mesh * apf::getMesh (GlobalNumbering *n)
 get the mesh associated with a global numbering
int apf::countComponents (GlobalNumbering *n)
 get the components associated with a global numbering
void apf::number (GlobalNumbering *n, Node node, long number, int component=0)
 assign a global number
long apf::getNumber (GlobalNumbering *n, Node node, int component=0)
 get a global number
long apf::getNumber (GlobalNumbering *n, MeshEntity *e, int node, int component=0)
 get a global number
int apf::getElementNumbers (GlobalNumbering *n, MeshEntity *e, NewArray< long > &numbers)
 get an element's global node numbers
GlobalNumbering * apf::makeGlobal (Numbering *n, bool destroy=true)
 converts a local numbering into a global numbering.
void apf::synchronize (GlobalNumbering *n, Sharing *shr=0)
 see the Numbering equivalent and apf::makeGlobal
void apf::destroyGlobalNumbering (GlobalNumbering *n)
 destroy a global numbering
void apf::getNodes (GlobalNumbering *n, DynamicArray< Node > &nodes)
 see the Numbering equivalent
MeshTag * apf::reorder (Mesh *mesh, const char *name)
 Number by adjacency graph traversal.
int apf::NaiveOrder (Numbering *num)
 number all components by simple iteration
int apf::AdjReorder (Numbering *num)
 like apf::reorder, but numbers all free nodal components
void apf::SetNumberingOffset (Numbering *num, int off)
 add an offset to all free nodal component numbers

Detailed Description

Local and global numbering interface.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines