Class used to storage geometric properties for the group of finite elements or, if necessary, for each element present in a group.
More...
#include <GeometricProperties.h>
List of all members.
Public Member Functions |
| GeometricProperties () |
| Empty Constructor.
|
| GeometricProperties (unsigned long NumberElements, unsigned long NumberGeometricProperties, BuiltInArray< double > &Properties) |
| Constructor with parameters.
|
| GeometricProperties (GeometricProperties &Instance) |
| Copy Constructor.
|
GeometricProperties & | operator= (GeometricProperties &Instance) |
| Copies the contents of Instance to the current object.
|
void | SetProperties (unsigned long NumberProperties, unsigned long NumberElements, BuiltInArray< double > &Properties) |
| Sets the attributes of the GeometricProperties class.
|
double *const | GetProperties (unsigned long ElementNumber, unsigned long &NumberProperties) |
| Gets the value of the geometric properties to a certain element.
|
void | Save (FILE *File) |
| Writes class information to a binary file.
|
void | Restore (FILE *File) |
| Restores class data from a binary file.
|
void | Free () |
| Fees memory area allocated for the GeometricProperties class.
|
void | Read (FILE *DEFFile) |
| Reads the geometric properties for each element from the .def ASCII files.
|
void | Print (FILE *File) |
| Prints the geometric properties for each element on the ASCII file.
|
Protected Attributes |
unsigned long | NumElem |
| Number of elements of the group.
|
unsigned long | NumGeoProp |
| Number of geometric properties for each element.
|
BuiltInArray< double > | Values |
| Values of geometric properties for each element.
|
Detailed Description
Class used to storage geometric properties for the group of finite elements or, if necessary, for each element present in a group.
- Author:
- Gilberto Luis Valente da Costa
Constructor & Destructor Documentation
Constructor with parameters.
- Parameters:
-
[in] | NumberElements | - The number of elements of the group. |
[in] | NumberGeometricProperties | - The number of geometric properties for each element. |
[in] | Properties | - The Values of geometric properties for each element. |
Copy Constructor.
- Parameters:
-
Member Function Documentation
Gets the value of the geometric properties to a certain element.
- Parameters:
-
[in] | Element | Number - Element number to which will be returned the value of the geometric properties. |
[out] | NumberProperties | - number of geometric properties. |
Copies the contents of Instance to the current object.
- Parameters:
-
- Returns:
- Reference to the current object.
Prints the geometric properties for each element on the ASCII file.
- Parameters:
-
[in] | File | - pointer to the ASCII file. |
Reads the geometric properties for each element from the .def ASCII files.
- Parameters:
-
[in] | DEFFile | - pointer to the ASCII file. |
Restores class data from a binary file.
- Parameters:
-
[in] | File | - pointer to the binary file. |
Writes class information to a binary file.
- Parameters:
-
[in] | File | - Pointer to the file. |
Sets the attributes of the GeometricProperties class.
- Parameters:
-
[in] | NumberProperties | - The number of geometric properties for ach element. |
[in] | NumberElements | - The number of elements of the group. |
[in] | Properties | - The Values of geometric properties for each element. |
The documentation for this class was generated from the following files: