Public Member Functions |
|
| Node () |
| | Empty constructor.
|
| | Node (Node &Instance) |
| | Copy constructor. Copies the data from Instance to the current object.
|
|
| ~Node () |
| | Destructor.
|
| Node & | operator= (Node &Instance) |
| | Copies the data from Instance to the current object.
|
| unsigned long | GetNumberCoordinates () |
| | Returns the number of coordinates of the node (size of the array Coords)
|
| double * | GetCoordinates () |
| | Returns the nodal coordinates.
|
| void | SetNumberCoordinates (unsigned long NumberCoords) |
| | Sets the number of coordinates: sets the size of the array Coords.
|
| void | SetCoordinates (BuiltInArray< double > &Coordinates) |
| | Sets the nodal coordinates.
|
| void | Save (FILE *File) |
| | Writes class information to a binary file.
|
|
void | Restore (FILE *File) |
| | Restores class data (written using Save()) from a binary file@.
|
| void | Print (FILE *File, char *Message="") |
| | Prints class information to an ASCII file.
|
|
void | Free () |
| | Releases the physical memory allocated for the class.
|
Public Attributes |
|
unsigned long | NodeNumber |
| | Identification number of the node.
|
|
BuiltInArray< double > | Coords |
| | Vector with nodal coordinates.
|
Class for one node of the discrete model
- Note:
- The set of nodes of a discrete model is described by the class Nodes, This class is used for auxiliary tasks that require an individual node to be selected and manipulated
- Author:
- Marco Lcio Bittencourt/Fabiano Fernandes Bargos
- Date:
- April/19/2011