|
hp2FEM
0.1
|
Class that stores the numbers for each element topological entity based on the polynomial order. More...
#include <ElementTopologicalIndices.h>

Public Member Functions | |
| ElementTopologicalIndices () | |
| Default constructor. | |
| ElementTopologicalIndices (ElementShape_E ElemShape, unsigned long MaxPolyOrder, BuiltInArray< long > &PolyOrder) | |
| Constructor with parameters related to the maximum polynomial order and an array with element polynomial orders. | |
| ElementTopologicalIndices (ElementTopologicalIndices &Instance) | |
| Copy-initializer constructor. | |
| ~ElementTopologicalIndices () | |
| Class destructor. | |
| ElementTopologicalIndices & | operator= (ElementTopologicalIndices &Instance) |
| Copies the contents of Instance to the current object. | |
| unsigned long * | GetEdgeIndices (unsigned long PolyOrder, unsigned long EdgeNum, unsigned long &NumberIndices) |
| Returns the local edge indices for the element given the polynomial order. | |
| unsigned long * | GetFaceIndices (unsigned long PolyOrder, unsigned long FaceNum, unsigned long &NumberIndices) |
| Returns the local face indices for the element given the polynomial order. | |
| unsigned long | GetNumberElementNodes (unsigned long PolyOrder) |
| Returns the number of element nodes. | |
| unsigned long | GetNumberVertexIndices () |
| Returns the number of vertex nodes of the element given the polynomial order. | |
| unsigned long | GetNumberEdgeIndices (unsigned long PolyOrder) |
| Returns the number of edge nodes of the element given the polynomial order. | |
| unsigned long | GetNumberFaceIndices (unsigned long PolyOrder) |
| Returns the number of face nodes of the element for the given polynomial order. | |
| unsigned long | GetNumberBodyIndices (unsigned long PolyOrder) |
| Returns the number of body nodes of the element for the given polynomial order. | |
| unsigned long | GetNumberInternalFaceIndices (unsigned long PolyOrder) |
| Returns the number of face nodes of the element for the given polynomial order. Do not account vertices and edges. | |
| unsigned long | GetNumberVertices () |
| Returns the number of vertices of the element. | |
| unsigned long | GetNumberEdges () |
| Returns the number of edges of the element. | |
| unsigned long | GetNumberFaces () |
| Returns the number of faces of the element. | |
| unsigned long | GetNumberBodies () |
| Returns the number of bodies of the element. | |
| void | SetElementShape (ElementShape_E Element) |
| Sets the shape of the element. | |
| void | Save (FILE *File) |
| Writes class information to a binary file. | |
| void | Restore (FILE *File) |
| Restores class data from a binary file. | |
| void | RunTopologicalIndices (ElementShape_E ElemShape, BuiltInArray< long > &PolyOrder, unsigned long MaxPolyOrder=0) |
| Builds the topologicals indices for the given group number. | |
| void | Print (FILE *File) |
| Prints class information in an ASCII file. | |
| void | Free () |
| Releases the physical memory allocate for the ElementTopologicalIndices attributes. | |
Public Attributes | |
| unsigned long | NumPolyOrderSets |
| Number of different polynomial orders for the elements. | |
| BuiltInArray< long > | PolyOrderSets |
| Array with size equal to the maximum polynomial order. Each position stores -1 if the polynomial order is not used or the row number of index table if the polynomial order is used. | |
| TwoIndexTable< unsigned long > | FaceIndTable |
| Table that store the topological face indices for each polynomial order. | |
| TwoIndexTable< unsigned long > | EdgeIndTable |
| Table that store the topological edge indices for each polynomial order. | |
| unsigned long | NumberVertices |
| Stores the number of vertices. | |
| unsigned long | NumberEdges |
| Stores the number of edges. | |
| unsigned long | NumberFaces |
| Stores the number of faces. | |
| unsigned long | NumberBodies |
| Stores the number of faces. | |
| ElementShape_E | ElementShape |
| Stores the element shape. | |
Class that stores the numbers for each element topological entity based on the polynomial order.
| ElementTopologicalIndices::ElementTopologicalIndices | ( | ElementShape_E | ElemShape, |
| unsigned long | MaxPolyOrder, | ||
| BuiltInArray< long > & | PolyOrder | ||
| ) |
Constructor with parameters related to the maximum polynomial order and an array with element polynomial orders.
| [in] | ElemShape | - Element Shape |
| [in] | MaxPolyOrder | - maximum interpolation polynomial order for all elements of the group. |
| [in] | Polyorder | - polynomial order sets used by the elements of the group. |
Copy-initializer constructor.
| [in] | Instance | - instance of ElementTopologicalIndices which data will be copied to the current object. |
| void ElementTopologicalIndices::Free | ( | ) |
Releases the physical memory allocate for the ElementTopologicalIndices attributes.
| unsigned long * ElementTopologicalIndices::GetEdgeIndices | ( | unsigned long | PolyOrder, |
| unsigned long | EdgeNum, | ||
| unsigned long & | NumberIndices | ||
| ) |
Returns the local edge indices for the element given the polynomial order.
| [in] | PolyOrder | - element interpolation order. |
| [in] | EdgeNum | - the number of the edge. |
| [out] | NumberIndices | - number of edge indices for the given polynomial order. |
| unsigned long * ElementTopologicalIndices::GetFaceIndices | ( | unsigned long | PolyOrder, |
| unsigned long | FaceNum, | ||
| unsigned long & | NumberIndices | ||
| ) |
Returns the local face indices for the element given the polynomial order.
| [in] | PolyOrder | - element interpolation order. |
| [in] | FaceNum | - the number of the face. |
| [out] | NumberIndices | - number of face indices for the given polynomial order. |
| unsigned long ElementTopologicalIndices::GetNumberBodies | ( | ) |
Returns the number of bodies of the element.
| unsigned long ElementTopologicalIndices::GetNumberBodyIndices | ( | unsigned long | PolyOrder | ) |
Returns the number of body nodes of the element for the given polynomial order.
| unsigned long ElementTopologicalIndices::GetNumberEdgeIndices | ( | unsigned long | PolyOrder | ) |
Returns the number of edge nodes of the element given the polynomial order.
| unsigned long ElementTopologicalIndices::GetNumberEdges | ( | ) |
Returns the number of edges of the element.
| unsigned long ElementTopologicalIndices::GetNumberElementNodes | ( | unsigned long | PolyOrder | ) |
Returns the number of element nodes.
| [in] | PolyOrder | - element polynomial order. |
| unsigned long ElementTopologicalIndices::GetNumberFaceIndices | ( | unsigned long | PolyOrder | ) |
Returns the number of face nodes of the element for the given polynomial order.
| unsigned long ElementTopologicalIndices::GetNumberFaces | ( | ) |
Returns the number of faces of the element.
| unsigned long ElementTopologicalIndices::GetNumberInternalFaceIndices | ( | unsigned long | PolyOrder | ) |
Returns the number of face nodes of the element for the given polynomial order. Do not account vertices and edges.
| unsigned long ElementTopologicalIndices::GetNumberVertexIndices | ( | ) |
Returns the number of vertex nodes of the element given the polynomial order.
| unsigned long ElementTopologicalIndices::GetNumberVertices | ( | ) |
Returns the number of vertices of the element.
| ElementTopologicalIndices & ElementTopologicalIndices::operator= | ( | ElementTopologicalIndices & | Instance | ) |
Copies the contents of Instance to the current object.
| [in] | Instance | - instance of ElementTopologicalIndices which data will be copied to the current object. |
| void ElementTopologicalIndices::Print | ( | FILE * | File | ) |
Prints class information in an ASCII file.
| [in] | File | - pointer to the ASCII file. |
| void ElementTopologicalIndices::Restore | ( | FILE * | File | ) |
Restores class data from a binary file.
| [in] | File | - pointer to the binary file. |
| void ElementTopologicalIndices::RunTopologicalIndices | ( | ElementShape_E | ElemShape, |
| BuiltInArray< long > & | PolyOrder, | ||
| unsigned long | MaxPolyOrder = 0 |
||
| ) |
Builds the topologicals indices for the given group number.
| [in] | ElementShape | - Element Shape. |
| [in] | PolyOrder | - The different polynomial order using the element orders. |
| [in] | MaxPolyOrder | - maximum interpolation polynomial order for all elements of the group. |
| void ElementTopologicalIndices::Save | ( | FILE * | File | ) |
Writes class information to a binary file.
| [in] | File | - Pointer to the file. |
1.7.6.1