hp2FEM  0.1
Public Member Functions | Public Attributes
LoadIntensity Class Reference

This class stores and manages the parameters related to loads or boundary conditions applied to geometric entities (volume, surfaces, lines and keypoints) and finite element entities (element, faces, edges, nodes). The class variables are public to make simpler the access to the stored data. In the documentation of the class, both loads and boundary conditions are referred as loads. More...

#include <LoadIntensity.h>

List of all members.

Public Member Functions

 LoadIntensity ()
 Default constructor.
 LoadIntensity (LoadIntensity &Instance)
 Copy-initailizer constructor.
 ~LoadIntensity ()
 Class destructor.
LoadIntensityoperator= (LoadIntensity &Instance)
 Copies the contents of instance to the object.
unsigned long GetEntityOrElementNumber ()
 Return the number of the entity or element where the load is applied.
unsigned long GetLocalEdgeOrFaceNumber ()
 Returns the local entity (edge or face) number where the load is applied.
unsigned long GetNumberDirectionsOrDOFs ()
 Returns the number of directions or dofs where the load is applied.
char ** GetDirectionOrDOFNames (unsigned long &NumberDirectionOrDOFs)
 Returns the names of the directions or dof names where the loads are applied.
char * GetSymbolicNumericFlag (unsigned long &NumberDirectionOrDOFs)
 Returns for each dof or direction where the loads are applied, the character "n" if the load intensity is numeric and "s" if the load intensity is symbolic.
double GetNumericalValue (unsigned long &DirectionOrDOFCardinality)
 Returns the load intensity value for the given direction/dof cardinality number.
char * GetSymbolicExpression (unsigned long &DirectionOrDOFCardinality)
 Returns the load intensity symbolic expression for the given direction/dof cardinality number.
unsigned long * GetLoadCardinality ()
 Returns the cardinality of the dofs or directions where the loads are applied.

Public Attributes

unsigned long EntElementNumber
 Geometric entity or element number where the load is applied.
unsigned long LocalEntNum
 The local number of the entity (edge or face) to be loaded.
unsigned long NumDirDOFs
 Number of directions/dofs for load application.
char DirDOFNames [MAX_NUMBER_DIRS_DOFS][10]
 Store the names of dofs with applied loads. This array has space for the maximum number of directions or dofs given by MAX_NUMBER_DIRS_DOFS. Each dof name may be 20 characters long.
char SymbNumFlag [MAX_NUMBER_DIRS_DOFS]
 Specify for each dof if the load intensity is symbolic or numerical. This array has space for the maximum number of directions or dofs given by MAX_NUMBER_DIRS_DOFS.
double NumValue [MAX_NUMBER_DIRS_DOFS]
 Numerical load values for each direction or DOF.
unsigned long Card [MAX_NUMBER_DIRS_DOFS]
 Numerical value for each direction or DOF.
char SymbExpression [MAX_NUMBER_DIRS_DOFS][MAX_SYMB_EXPR_SIZE]
 Symbolic load expression for each direction or DOF. This array has space for the maximum number of directions or dofs given by MAX_NUMBER_DIRS_DOFS. Each symbolic expression may be MAX_SYMB_EXPR_SIZE characters long.

Detailed Description

This class stores and manages the parameters related to loads or boundary conditions applied to geometric entities (volume, surfaces, lines and keypoints) and finite element entities (element, faces, edges, nodes). The class variables are public to make simpler the access to the stored data. In the documentation of the class, both loads and boundary conditions are referred as loads.

Author:
Fabiano Fernandes Bargos/Marco Lcio Bittencourt
Date:
March/25/2011

Member Function Documentation

char ** LoadIntensity::GetDirectionOrDOFNames ( unsigned long &  NumberDirectionOrDOFs)

Returns the names of the directions or dof names where the loads are applied.

Parameters:
[out]NumberDirectionOrDOFs- number od directions or dofs with loads.
Returns:
Pointer to an array of strings with the dof or direction names.

Return the number of the entity or element where the load is applied.

Returns:
Entity number.

Returns the local entity (edge or face) number where the load is applied.

Returns:
Returns the number of the edge or face.

Returns the number of directions or dofs where the load is applied.

Returns:
Returns the number of directions or dofs.
double LoadIntensity::GetNumericalValue ( unsigned long &  DirectionOrDOFCardinality)

Returns the load intensity value for the given direction/dof cardinality number.

Returns:
Load intensity value.
char * LoadIntensity::GetSymbolicExpression ( unsigned long &  DirectionOrDOFCardinality)

Returns the load intensity symbolic expression for the given direction/dof cardinality number.

Returns:
Load intensity expression.
char * LoadIntensity::GetSymbolicNumericFlag ( unsigned long &  NumberDirectionOrDOFs)

Returns for each dof or direction where the loads are applied, the character "n" if the load intensity is numeric and "s" if the load intensity is symbolic.

Parameters:
[out]NumberDirectionOrDOFs- number od firections or dofs with loads.
Returns:
Pointer to an array of characters with the numeric or symbolic flags.
LoadIntensity & LoadIntensity::operator= ( LoadIntensity Instance)

Copies the contents of instance to the object.

Parameters:
[in]Instance- instance of the LoadIntensity class.
Returns:
Reference to the LoadIntensity instance.

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