hp2FEM
0.1
|
Class to manage each load set in the discrete model. More...
#include <LoadSet.h>
Public Member Functions | |
LoadSet () | |
Empty constructor. | |
LoadSet (unsigned long LoadSetNum) | |
Constructor with parameter. | |
LoadSet (LoadSet &Instance) | |
Copy constructor. Copies the contents of Instance to the current object. | |
~LoadSet () | |
Destructor. | |
void | Free () |
Frees Arrays of the load set. | |
LoadSet & | operator= (LoadSet &Instance) |
Copies the contents of Instance to the current object. | |
unsigned long | GetNumberLoadedNodes () |
Gets the number of nodes with concentrated loads. | |
unsigned long | GetNumberLoadedEdges () |
Gets the number of element edges with distributed loads. | |
unsigned long | GetNumberContactEdges () |
Gets the number of contact edges. | |
unsigned long | GetNumberTargetEdges () |
Gets the number of target edges. | |
unsigned long | GetNumberLoadedFaces () |
Gets the number of element faces with distributed loads. | |
unsigned long | GetNumberLoadedBodies () |
Gets the number of element bodies with distributed loads. | |
unsigned long | GetNumberLoadedKeypoints () |
Gets the number of geometric keypoints with concentrated loads. | |
unsigned long | GetNumberLoadedLines () |
Gets the number of geometric lines with distributed loads. | |
unsigned long | GetNumberLoadedSurfaces () |
Gets the number of geometric surfaces with distributed loads. | |
unsigned long | GetNumberLoadedVolumes () |
Gets the number of geometric volumes with body loads. | |
unsigned long | GetNumberLoads (Entity_E Entity) |
Gets the number of loads for the given entity type. | |
unsigned long | GetNumberPresureLoads (Entity_E Entity) |
Gets the number of presure loads for the given entity type. | |
unsigned long | GetNumberPressureEdges () |
Sets the number of Edges with pressure load. | |
unsigned long | GetNumberPressureFaces () |
Sets the number of Faces with pressure load. | |
unsigned long | GetNumberPressureLines () |
Gets the number of Lines with pressure load. | |
unsigned long | GetNumberPressureSurfaces () |
Gets the number of Surfaces with pressure load. | |
Array< LoadIntensity > & | GetLoadNodes () |
Gets the informations stored in the structure LoadNodes. | |
Array< LoadIntensity > & | GetLoadEdges () |
Gets the informations stored in the structure LoadEdges. | |
Array< LoadIntensity > & | GetContactEdges () |
Gets the informations stored in the structure ContactEdges. | |
Array< LoadIntensity > & | GetTargetEdges () |
Gets the informations stored in the structure TargetEdges. | |
Array< LoadIntensity > & | GetLoadFaces () |
Gets the informations stored in the structure LoadFaces. | |
Array< LoadIntensity > & | GetLoadBodies () |
Gets the informations stored in the structure LoadBodies. | |
Array< LoadIntensity > & | GetLoadKeypoints () |
Gets the informations stored in the structure LoadKeyPoints. | |
Array< LoadIntensity > & | GetLoadLines () |
Gets the informations stored in the structure LoadLines. | |
Array< LoadIntensity > & | GetLoadSurfaces () |
Gets the informations stored in the structure LoadSurfaces. | |
Array< LoadIntensity > & | GetLoadVolumes () |
Gets the informations stored in the structure LoadVolumes. | |
Array< LoadIntensity > & | GetLoads (Entity_E Entity) |
Gets thef loads for the given entity type. | |
Array< LoadIntensity > & | GetPressureEdges () |
Gets the informations stored in the structure PressureEdges. | |
Array< LoadIntensity > & | GetPressureFaces () |
Gets the informations stored in the structure PressureFaces. | |
Array< LoadIntensity > & | GetPressureLines () |
Gets the informations stored in the structure PressureLines. | |
Array< LoadIntensity > & | GetPressureSurfaces () |
Gets the informations stored in the structure PressureSurfaces. | |
Array< LoadIntensity > & | GetPresureLoads (Entity_E Entity) |
Gets thef pressure loads for the given entity type. | |
void | Read (FILE *DEFFile, unsigned long LoadSetNum, DOFs &DofNames) |
Reads class data from the .def ASCII file. | |
void | Print (FILE *File, char *Message="") |
Prints the parameters of the load set to an ASCII file. | |
Public Attributes | |
LoadIntensity * | theLoadIntensity |
Protected Attributes | |
unsigned long | LoadSetNumber |
Stores the load set number. | |
Array< LoadIntensity > | LoadedNodes |
Array of LoadIntesity with information about nodes with concentrated loads. | |
Array< LoadIntensity > | LoadedKeyPoints |
Array of LoadIntesity with information about geometric keypoints with concentrated loads. | |
Array< LoadIntensity > | LoadedEdges |
Array of LoadIntesity with information about distributed loads applied on geometric edges. | |
Array< LoadIntensity > | ContactEdges |
Array of ContactEdges with information about contact on edges. | |
Array< LoadIntensity > | TargetEdges |
Array of TargetEdges with information about target on edges. | |
Array< LoadIntensity > | LoadedLines |
Array of LoadIntesity with information about distributed loads applied on geometric lines. | |
Array< LoadIntensity > | LoadedFaces |
Array of LoadIntesity with information about distributed loads applied on element faces. | |
Array< LoadIntensity > | LoadedBodies |
Array of LoadIntesity with information about distributed loads applied on element body. | |
Array< LoadIntensity > | LoadedSurfaces |
Array of LoadIntesity with information about distributed loads applied on geometric surfaces. | |
Array< LoadIntensity > | LoadedVolumes |
Array of LoadIntesity with information about distributed loads applied on volumes. | |
Array< LoadIntensity > | PressEdges |
Array of LoadIntesity with information about pressure loads applied on element edges. | |
Array< LoadIntensity > | PressLines |
Array of LoadIntesity with information about pressure loads applied on geometric lines. | |
Array< LoadIntensity > | PressFaces |
Array of LoadIntesity with information about pressure loads applied on element faces. | |
Array< LoadIntensity > | PressSurfaces |
Array of LoadIntesity with information about pressure loads applied on geometric surfaces. |
Class to manage each load set in the discrete model.
LoadSet::LoadSet | ( | unsigned long | LoadSetNum | ) |
Constructor with parameter.
[in] | LoadSetNum | - number of the load set. |
LoadSet::LoadSet | ( | LoadSet & | Instance | ) |
Copy constructor. Copies the contents of Instance to the current object.
[in] | Instance | - object of LoadSet. |
Array< LoadIntensity > & LoadSet::GetLoads | ( | Entity_E | Entity | ) |
Gets thef loads for the given entity type.
unsigned long LoadSet::GetNumberContactEdges | ( | ) |
Gets the number of contact edges.
unsigned long LoadSet::GetNumberLoadedBodies | ( | ) |
Gets the number of element bodies with distributed loads.
unsigned long LoadSet::GetNumberLoadedEdges | ( | ) |
Gets the number of element edges with distributed loads.
unsigned long LoadSet::GetNumberLoadedFaces | ( | ) |
Gets the number of element faces with distributed loads.
unsigned long LoadSet::GetNumberLoadedKeypoints | ( | ) |
Gets the number of geometric keypoints with concentrated loads.
unsigned long LoadSet::GetNumberLoadedLines | ( | ) |
Gets the number of geometric lines with distributed loads.
unsigned long LoadSet::GetNumberLoadedNodes | ( | ) |
Gets the number of nodes with concentrated loads.
unsigned long LoadSet::GetNumberLoadedSurfaces | ( | ) |
Gets the number of geometric surfaces with distributed loads.
unsigned long LoadSet::GetNumberLoadedVolumes | ( | ) |
Gets the number of geometric volumes with body loads.
unsigned long LoadSet::GetNumberLoads | ( | Entity_E | Entity | ) |
Gets the number of loads for the given entity type.
unsigned long LoadSet::GetNumberPresureLoads | ( | Entity_E | Entity | ) |
Gets the number of presure loads for the given entity type.
unsigned long LoadSet::GetNumberTargetEdges | ( | ) |
Gets the number of target edges.
Array< LoadIntensity > & LoadSet::GetPresureLoads | ( | Entity_E | Entity | ) |
Gets thef pressure loads for the given entity type.
Copies the contents of Instance to the current object.
[in] | Instance | - object of LoadSet. |
void LoadSet::Print | ( | FILE * | File, |
char * | Message = "" |
||
) |
Prints the parameters of the load set to an ASCII file.
[in] | File | - pointer to the ASCII file. |
[in] | Message | - optional message to be written to the ASCII file. |
void LoadSet::Read | ( | FILE * | DEFFile, |
unsigned long | LoadSetNum, | ||
DOFs & | DofNames | ||
) |
Reads class data from the .def ASCII file.
[in] | DEFFile | - pointer to the .def file with model attributes data. |
[in] | DofNames | - instance of DOFs class. |