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

Class that manages the load sets applied to the discrete model. More...

#include <LoadSets.h>

Collaboration diagram for LoadSets:
Collaboration graph
[legend]

List of all members.

Public Member Functions

unsigned long GetNumberLoadSets ()
 Returns the number of load sets.
 LoadSets ()
 Empty constructor.
 LoadSets (LoadSets &Instance)
 Copy-initializer constructor. Copies the contents of Instance to the object.
 ~LoadSets ()
 Destructor.
void Free ()
 Frees LoadSets array.
LoadSetsoperator= (LoadSets &Instance)
 Copies the contents of Instance to the object.
LoadSetoperator[] (unsigned long LoadSetNumber)
 Returns a reference to the load set given by LoadSetNumber,.
void Print (FILE *File, char *Message="")
 Prints the parameters of load sets to an ASCII file.
void Read (FILE *DEFFile, DOFs &DofNames)
 Reads class data from the .def ASCII file.

Public Attributes

LoadSettheLoadSet

Protected Attributes

Array< LoadSetLS
 Array of load set objects.
unsigned long NumLS
 Number of loads sets.

Detailed Description

Class that manages the load sets applied to the discrete model.

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

Constructor & Destructor Documentation

LoadSets::LoadSets ( LoadSets Instance)

Copy-initializer constructor. Copies the contents of Instance to the object.

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

Member Function Documentation

unsigned long LoadSets::GetNumberLoadSets ( )

Returns the number of load sets.

Returns:
Number of load sets.
LoadSets & LoadSets::operator= ( LoadSets Instance)

Copies the contents of Instance to the object.

Parameters:
[in]Instance- instance of LoadSets.
Returns:
Reference to the current object.
LoadSet & LoadSets::operator[] ( unsigned long  LoadSetNumber)

Returns a reference to the load set given by LoadSetNumber,.

Parameters:
[in]LoadSetNumber- number of the load set.
Returns:
Reference to the LoadSet instance.
void LoadSets::Print ( FILE *  File,
char *  Message = "" 
)

Prints the parameters of load sets to an ASCII file.

Parameters:
[in]File- pointer to the ASCII file.
[in]Message- optional message to be written to the ASCII file.
void LoadSets::Read ( FILE *  DEFFile,
DOFs DofNames 
)

Reads class data from the .def ASCII file.

Parameters:
[in]DEFFile- pointer to the .def file with attribute 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