hp2FEM  0.1
Public Member Functions | Public Attributes | Protected Attributes
LoadSet Class Reference

Class to manage each load set in the discrete model. More...

#include <LoadSet.h>

Collaboration diagram for LoadSet:
Collaboration graph
[legend]

List of all members.

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.
LoadSetoperator= (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

LoadIntensitytheLoadIntensity

Protected Attributes

unsigned long LoadSetNumber
 Stores the load set number.
Array< LoadIntensityLoadedNodes
 Array of LoadIntesity with information about nodes with concentrated loads.
Array< LoadIntensityLoadedKeyPoints
 Array of LoadIntesity with information about geometric keypoints with concentrated loads.
Array< LoadIntensityLoadedEdges
 Array of LoadIntesity with information about distributed loads applied on geometric edges.
Array< LoadIntensityContactEdges
 Array of ContactEdges with information about contact on edges.
Array< LoadIntensityTargetEdges
 Array of TargetEdges with information about target on edges.
Array< LoadIntensityLoadedLines
 Array of LoadIntesity with information about distributed loads applied on geometric lines.
Array< LoadIntensityLoadedFaces
 Array of LoadIntesity with information about distributed loads applied on element faces.
Array< LoadIntensityLoadedBodies
 Array of LoadIntesity with information about distributed loads applied on element body.
Array< LoadIntensityLoadedSurfaces
 Array of LoadIntesity with information about distributed loads applied on geometric surfaces.
Array< LoadIntensityLoadedVolumes
 Array of LoadIntesity with information about distributed loads applied on volumes.
Array< LoadIntensityPressEdges
 Array of LoadIntesity with information about pressure loads applied on element edges.
Array< LoadIntensityPressLines
 Array of LoadIntesity with information about pressure loads applied on geometric lines.
Array< LoadIntensityPressFaces
 Array of LoadIntesity with information about pressure loads applied on element faces.
Array< LoadIntensityPressSurfaces
 Array of LoadIntesity with information about pressure loads applied on geometric surfaces.

Detailed Description

Class to manage each load set in the discrete model.

Author:
Marco Lucio Bittendourt/ Fabiano Fernandes Bargos
Date:
April/11/2011

Constructor & Destructor Documentation

LoadSet::LoadSet ( unsigned long  LoadSetNum)

Constructor with parameter.

Parameters:
[in]LoadSetNum- number of the load set.
LoadSet::LoadSet ( LoadSet Instance)

Copy constructor. Copies the contents of Instance to the current object.

Parameters:
[in]Instance- object of LoadSet.
Returns:
Reference to the current object.

Member Function Documentation

Array< LoadIntensity > & LoadSet::GetLoads ( Entity_E  Entity)

Gets thef loads for the given entity type.

Returns:
Reference to Array<LoadIntensity>.
unsigned long LoadSet::GetNumberContactEdges ( )

Gets the number of contact edges.

Returns:
Number of loaded edges.
unsigned long LoadSet::GetNumberLoadedBodies ( )

Gets the number of element bodies with distributed loads.

Returns:
Number of loaded element bodies.
unsigned long LoadSet::GetNumberLoadedEdges ( )

Gets the number of element edges with distributed loads.

Returns:
Number of loaded edges.
unsigned long LoadSet::GetNumberLoadedFaces ( )

Gets the number of element faces with distributed loads.

Returns:
Number of loaded element faces.

Gets the number of geometric keypoints with concentrated loads.

Returns:
Number of loaded geometric keypoins.
unsigned long LoadSet::GetNumberLoadedLines ( )

Gets the number of geometric lines with distributed loads.

Returns:
Number of loaded geometric lines.
unsigned long LoadSet::GetNumberLoadedNodes ( )

Gets the number of nodes with concentrated loads.

Returns:
Number of loaded nodes.

Gets the number of geometric surfaces with distributed loads.

Returns:
Number of loaded geometric surfaces.

Gets the number of geometric volumes with body loads.

Returns:
Number of loaded geometric volumes.
unsigned long LoadSet::GetNumberLoads ( Entity_E  Entity)

Gets the number of loads for the given entity type.

Returns:
Number of loads.
unsigned long LoadSet::GetNumberPresureLoads ( Entity_E  Entity)

Gets the number of presure loads for the given entity type.

Returns:
Number of loads.
unsigned long LoadSet::GetNumberTargetEdges ( )

Gets the number of target edges.

Returns:
Number of loaded edges.
Array< LoadIntensity > & LoadSet::GetPresureLoads ( Entity_E  Entity)

Gets thef pressure loads for the given entity type.

Returns:
Reference to Array<LoadIntensity>.
LoadSet & LoadSet::operator= ( LoadSet Instance)

Copies the contents of Instance to the current object.

Parameters:
[in]Instance- object of LoadSet.
Returns:
Reference to the current object.
void LoadSet::Print ( FILE *  File,
char *  Message = "" 
)

Prints the parameters of the load set to an ASCII file.

Parameters:
[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.

Parameters:
[in]DEFFile- pointer to the .def file with model attributes data.
[in]DofNames- instance of DOFs class.

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Friends Defines