Builds a table that store for each node its neighbour nodes.
More...
#include <NodeNodeTable.h>
List of all members.
Public Member Functions |
| NodeNodeTable () |
| Default constructor (without parameters).
|
| NodeNodeTable (NodeNodeTable &Instance) |
| Copy-initiliazer constructor. Copies the contents of instance to the object.
|
| ~NodeNodeTable () |
| Destructor.
|
NodeNodeTable & | operator= (NodeNodeTable &Instance) |
| Copies the contents of Instance for the object.
|
| operator OneIndexTable< unsigned long > & () |
void | BuildNodeNodeTable (FEGroups &Groups, NodeElementTable &NoElemTable, unsigned long TotalNumberNodes, MeshID_E MeshID) |
| Builds the node-node topological table for all finite element groups.
|
unsigned long *const | GetNeighbourNodes (unsigned long NodeNumber, unsigned long &NumberNeighbourNodes) |
| Returns a list of neighbour nodes of a given node.
|
unsigned long | GetNumberNeighbourNodes (unsigned long NodeNumber) |
| Returns the number of neighbours nodes of a given node.
|
void | Print (FILE *File, char *Message="") |
| Prints the parameters of theMeshTopology to an ASCII file.
|
void | Save (char *Tabname, int Version, char *Filename) |
| Writes class data to a binary database.
|
void | Save (FILE *File) |
| Writes class information to a binary file.
|
void | Restore (char *Tabname, int Version, char *Filename) |
| Restores class data (written using the Save method) from a binary file.
|
void | Restore (FILE *File) |
| Restores class data (written using Save()) form a binary file.
|
void | Free () |
| Releases the physical memory allocated for the class variable.
|
Protected Attributes |
OneIndexTable< unsigned long > | NoNoTable |
| Table that store the neigbours for each node.
|
Detailed Description
Builds a table that store for each node its neighbour nodes.
- Author:
- Fabiano Fernandes Bargos Gilberto Luis Valente da Costa
- Date:
- March/02/2011
Constructor & Destructor Documentation
Copy-initiliazer constructor. Copies the contents of instance to the object.
- Parameters:
-
- Returns:
- Reference to the current object.
Member Function Documentation
Builds the node-node topological table for all finite element groups.
- Parameters:
-
[in] | TotalNumberNodes | - total number of nodes of the FE model. |
[in] | Groups | - instance of the FEGroups class which stores information for the finite element groups for a mesh. |
[in] | NoElemTab | - instance of the NodeElementTable class. |
[in] | MeshID | - Type of mesh to be used to create the node-element topological table. |
Returns a list of neighbour nodes of a given node.
- Parameters:
-
[in] | NodeNumber | - number of the node. |
[out] | NumberNeighbourNodes | - number of neighbour nodes for the given node. |
- Returns:
- Pointer to an array with the number of the neighbour nodes.
Returns the number of neighbours nodes of a given node.
- Parameters:
-
[in] | NodeNumber | - number of the node. |
- Returns:
- Number of neighbour nodes of the given node number.
Copies the contents of Instance for the object.
- Parameters:
-
- Returns:
- Reference of the current object.
Prints the parameters of theMeshTopology to an ASCII file.
- Parameters:
-
[in] | File | - pointer to the ASCII file. |
[in] | Message | - optional message to be written to the ASCII file. |
Restores class data (written using the Save method) from a binary file.
- Parameters:
-
[in] | Tabname | - name of the database table where the data will be stored. |
[in] | Version | - data version number. |
[in] | Filename | - database prefix filename. Two files will be used: filename.dir and filename.bdg. The first one stores keys to the data stored in the filename.bdg file. |
Restores class data (written using Save()) form a binary file.
- Parameters:
-
[in] | File | - pointer to the binary file. |
Writes class data to a binary database.
- Parameters:
-
[in] | Tabname | - name of the database table where the data will be stored. |
[in] | Version | - data version number. |
[in] | Filename | - database prefix filename. Two files will be used: filename.dir and filename.bdg. The first one stores keys to the data stored in the filename.bdg file. |
Writes class information to a binary file.
- Note:
- The current object state can be completely recovered when applying the Restore() operation.
- Parameters:
-
[in] | File | - pointer to the binary file. |
The documentation for this class was generated from the following files: