| hp2FEM
    0.1
    | 
Stores information for the finite element groups for the discrete model. A group collects a set of element with the same element shape, interpolation parameters and dofs. More...
#include <FEGroups.h>

| Public Member Functions | |
| FEGroups () | |
| Default constructor. | |
| FEGroups (unsigned long TotalNumberElements, unsigned long NumberGroups, unsigned long MaxSolutionOrder, unsigned long MaxMappingOrder) | |
| Constructor that sets attributes of the finite element mesh. | |
| FEGroups (FEGroups &Instance) | |
| Copy-initializer constructor. Copies the contents of Instance for the object. | |
| ~FEGroups () | |
| Destructor. | |
| FEGroups & | operator= (FEGroups &Instance) | 
| Copies the contents of Instance for the object. | |
| FiniteElementGroup & | operator[] (unsigned long GroupNumber) | 
| Returns a reference to the finite element group given in GroupNumber,. | |
| unsigned long | GetNumberFEGroups () | 
| Returns the number of finite element groups. | |
| unsigned long | GetTotalNumberElements () | 
| Returns the total number of finite elements in the model. | |
| unsigned long | GetTotalNumberDOFs () | 
| Returns the total number of DOFs. | |
| void | SetMaxSolutionOrder (unsigned long MaxPolyOrder) | 
| Sets the maximum solution order of the FE model. | |
| unsigned long | GetMaxSolutionOrder () | 
| Returns the maximum solution element order of the FE model. | |
| void | SetMaxMappingOrder (unsigned long MaxPolyOrder) | 
| Sets the maximum mapping order of the FE model. | |
| unsigned long | GetMaxMappingOrder () | 
| Returns the maximum mapping element order of the FE model. | |
| unsigned long | GetMaxNumberDOFsGroup (unsigned short &MaxNumPrimDOFs) | 
| Calculates the group with the maximum number of DOFs to allocate the element matrices. | |
| unsigned long | LocalToGlobalNumbering (unsigned long GroupNumber, unsigned long LocalNumber) | 
| Returns the global number of an element LocalNumber of the group GroupNumber. | |
| unsigned long | GlobalToLocalNumbering (unsigned long GlobalNumber, unsigned long &GroupNumber) | 
| Returns the local number and the group number of a givel global element number. | |
| unsigned long | GetGroupNumber (unsigned long Element) | 
| Returns the group number according to element parameter. | |
| void | Save (char *Tabname, int Version, char *Filename) | 
| Writes class data to a binary database. | |
| void | Save (FILE *File) | 
| Writes class information to a binary file. | |
| void | Restore (char *Tabname, int Version, char *Filename) | 
| Restores class data from a binary database written using the Save method. | |
| void | Restore (FILE *File) | 
| Restores class data (written using the Save method) from a binary file. | |
| void | Read (FILE *FEMFile, FILE *DEFFile, DOFs &DOFsNames, unsigned long Dimension, unsigned long TheoSolIntegOrder=0) | 
| Reads the ASCII files with the group parameters. | |
| void | Print (FILE *File, char *Message="") | 
| Prints the parameters of the FE groups to an ASCII file. | |
| void | Free () | 
| Releases the physical memory allocate for the groups. | |
| Public Attributes | |
| FiniteElementGroup * | theFiniteElementGroup | 
| Protected Attributes | |
| Array< FiniteElementGroup > | Groups | 
| Array of domain finite element groups. | |
| unsigned long | TotNumElem | 
| Total number of elements in the domain of the discrete model. | |
| unsigned long | NmbrGrps | 
| Stores the number of elements groups of the discrete model. | |
| unsigned long | MaxSolOrder | 
| Stores the maximmum element order for the solution mesh for the discrete model. | |
| unsigned long | MaxMapOrder | 
| Stores the maximmum element order for the mapping mesh for the discrete model. | |
| PostProcessorProgram_E | PostProcProgram | 
| the name of the program used to the post processing mesh. | |
Stores information for the finite element groups for the discrete model. A group collects a set of element with the same element shape, interpolation parameters and dofs.
| FEGroups::FEGroups | ( | unsigned long | TotalNumberElements, | 
| unsigned long | NumberGroups, | ||
| unsigned long | MaxSolutionOrder, | ||
| unsigned long | MaxMappingOrder | ||
| ) | 
Constructor that sets attributes of the finite element mesh.
| [in] | TotalNumberElements | - total number of elements of the finite element mesh. | 
| [in] | NumberGroups | - number of foninite element groups. | 
| [in] | MaxSolutionOrder | - maximum polynomial order for the solution. | 
| [in] | MaxMappingOrder | - maximum polynomial order for the element mapping. | 
| FEGroups::FEGroups | ( | FEGroups & | Instance | ) | 
Copy-initializer constructor. Copies the contents of Instance for the object.
| [in] | Instance | - instance of Mesh. | 
| void FEGroups::Free | ( | ) | 
Releases the physical memory allocate for the groups.
| unsigned long FEGroups::GetGroupNumber | ( | unsigned long | Element | ) | 
Returns the group number according to element parameter.
| [in] | Element | - The element number. | 
| unsigned long FEGroups::GetMaxMappingOrder | ( | ) | 
Returns the maximum mapping element order of the FE model.
| unsigned long FEGroups::GetMaxNumberDOFsGroup | ( | unsigned short & | MaxNumPrimDOFs | ) | 
| unsigned long FEGroups::GetMaxSolutionOrder | ( | ) | 
Returns the maximum solution element order of the FE model.
| unsigned long FEGroups::GetNumberFEGroups | ( | ) | 
Returns the number of finite element groups.
| unsigned long FEGroups::GetTotalNumberDOFs | ( | ) | 
Returns the total number of DOFs.
| unsigned long FEGroups::GetTotalNumberElements | ( | ) | 
Returns the total number of finite elements in the model.
| unsigned long FEGroups::GlobalToLocalNumbering | ( | unsigned long | GlobalNumber, | 
| unsigned long & | GroupNumber | ||
| ) | 
Returns the local number and the group number of a givel global element number.
| [in] | GlobalNumber | - global element number starting at zero. | 
| [out] | GroupNumber | - group that the element belongs to. | 
| unsigned long FEGroups::LocalToGlobalNumbering | ( | unsigned long | GroupNumber, | 
| unsigned long | LocalNumber | ||
| ) | 
Returns the global number of an element LocalNumber of the group GroupNumber.
| [in] | GroupNumber | - group that the element belongs to. | 
| [in] | LocalNumber | - local element number starting at zero. | 
Copies the contents of Instance for the object.
| [in] | Instance | - instance of Mesh. | 
| FiniteElementGroup & FEGroups::operator[] | ( | unsigned long | GroupNumber | ) | 
Returns a reference to the finite element group given in GroupNumber,.
| [in] | GroupNumber | - number of the finite element group. | 
| void FEGroups::Print | ( | FILE * | File, | 
| char * | Message = "" | ||
| ) | 
Prints the parameters of the FE groups to an ASCII file.
| [in] | File | - pointer to the ASCII file. | 
| [in] | Message | - optional message to be written to the ASCII file. | 
| void FEGroups::Read | ( | FILE * | FEMFile, | 
| FILE * | DEFFile, | ||
| DOFs & | DOFsNames, | ||
| unsigned long | Dimension, | ||
| unsigned long | TheoSolIntegOrder = 0 | ||
| ) | 
Reads the ASCII files with the group parameters.
| [in] | FEMFile | - pointer to the .fem file with mesh data. | 
| [in] | DEFFile | - pointer to the .def file with model attributes data. | 
| [in] | DOFsNames | - Intsance of the DOFs class with the names oe the dofs used in the finite element model. | 
| [in] | Dimension | - the dimension of element. | 
| [in] | TheoSolIntegOrder | - integration order for the theoretical solution. The default value -1 means that the theoretical solution is not used fro the current analysis. | 
| void FEGroups::Restore | ( | char * | Tabname, | 
| int | Version, | ||
| char * | Filename | ||
| ) | 
Restores class data from a binary database written using the Save method.
| [in] | Tabname | - name of the database table where the data will be stored. | 
| [in] | Version | - data version number. | 
| [in] | Filename | - database prefix filename. Two files will be used: filename.dir and filename.bdg. The first one stores keys to the data stored in the filename.bdg file. | 
| void FEGroups::Restore | ( | FILE * | File | ) | 
Restores class data (written using the Save method) from a binary file.
| [in] | File | - pointer to the binary file. | 
| void FEGroups::Save | ( | char * | Tabname, | 
| int | Version, | ||
| char * | Filename | ||
| ) | 
Writes class data to a binary database.
| [in] | Tabname | - name of the database table where the data will be stored. | 
| [in] | Version | - data version number. | 
| [in] | Filename | - database prefix filename. Two files will be used: filename.dir and filename.bdg. The first one stores keys to the data stored in the filename.bdg file. | 
| void FEGroups::Save | ( | FILE * | File | ) | 
Writes class information to a binary file.
| [in] | File | - pointer to the binary file. | 
| void FEGroups::SetMaxMappingOrder | ( | unsigned long | MaxPolyOrder | ) | 
Sets the maximum mapping order of the FE model.
| [in] | Maximum | polynomial mapping order. | 
| void FEGroups::SetMaxSolutionOrder | ( | unsigned long | MaxPolyOrder | ) | 
Sets the maximum solution order of the FE model.
| [in] | Maximum | polynomial order. | 
 1.7.6.1
 1.7.6.1