hp2FEM
0.1
|
Class that stores and manages the homogeneuos and non-homogeneous Dirichlet boundary conditions applied on the geometric and finite element entities of the model. More...
#include <BoundaryConditions.h>
Public Member Functions | |
BoundaryConditions () | |
Default constructor. | |
BoundaryConditions (BoundaryConditions &Instance) | |
Copy-initializer constructor. | |
~BoundaryConditions () | |
Destructor. | |
BoundaryConditions & | operator= (BoundaryConditions &Instance) |
Copies the contents of Instance to the current object. | |
unsigned long | GetNumberDBCNodes (DBC_E DBCFlag) |
Returns the number of Dirichlet boundary conditions on nodes. | |
unsigned long | GetNumberDBCEdges (DBC_E DBCFlag) |
Returns the number of Dirichlet boundary conditions on element edges. | |
unsigned long | GetNumberDBCFaces (DBC_E DBCFlag) |
Returns the number of Dirichlet boundary conditions on element faces. | |
unsigned long | GetNumberDBCKeypoints (DBC_E DBCFlag) |
Returns the number of Dirichlet boundary conditions on geometric keypoints. | |
unsigned long | GetNumberDBCLines (DBC_E DBCFlag) |
Returns the number of Dirichlet boundary conditions on geometric lines. | |
unsigned long | GetNumberDBCSurfaces (DBC_E DBCFlag) |
Returns the number of Dirichlet boundary conditions on geometric surfaces. | |
unsigned long | GetNumberDBC (Entity_E Entity, DBC_E DBCFlag) |
Returns the number of Dirichlet boundary conditions on the given entity type. | |
unsigned long | GetTotalNumberDBCs (DBC_E DBCFlag) |
Returns the total number of Dirichlet boundary conditions applied to the model for all entity types. | |
Array< LoadIntensity > & | GetDBCNodes (DBC_E DBCFlag) |
Returns the Dirichlet boundary conditions applied to the nodes as an array of LoadIntensity class. | |
Array< LoadIntensity > & | GetDBCEdges (DBC_E DBCFlag) |
Returns the Dirichlet boundary conditions applied to the edges of elements as an array of LoadIntensity class. | |
Array< LoadIntensity > & | GetDBCFaces (DBC_E DBCFlag) |
Returns the Dirichlet boundary conditions applied to the faces of elements as an array of LoadIntensity class. | |
Array< LoadIntensity > & | GetDBCKeypoints (DBC_E DBCFlag) |
Returns the Dirichlet boundary conditions applied to the geometric keypoints as an array of the LoadIntensity class. | |
Array< LoadIntensity > & | GetDBCLines (DBC_E DBCFlag) |
Returns the Dirichlet boundary conditions applied to the geometric lines as an array of the LoadIntensity class. | |
Array< LoadIntensity > & | GetDBCSurfaces (DBC_E DBCFlag) |
Returns the Dirichlet boundary conditions applied to the geometric surfaces as an array of the LoadIntensity class. | |
Array< LoadIntensity > & | GetDBC (Entity_E Entity, DBC_E DBCFlag) |
Returns the Dirichlet boundary conditions on the given entity type as an array of the LoadIntensity class. | |
DirichletBC & | GetDBCs (DBC_E DBCFlag) |
Returns all the Dirichlet boundary conditions as an array of the DirichletBC class. | |
void | Read (FILE *DEFFile, DOFs &DOFsAttributes) |
Reads class data from the .def ASCII file. | |
void | Print (FILE *File, char *Message="") |
Prints class data in ASCII format. | |
Public Attributes | |
DirichletBC * | theDirichletBC |
Protected Attributes | |
DirichletBC | HOMDBC |
The homogeneous Dirichlet BCs applied on the geometric and finite element entities,. | |
DirichletBC | NOHOMDBC |
The non-homogeneous Dirichlet BCs applied on the geometric and finite element entities,. |
Class that stores and manages the homogeneuos and non-homogeneous Dirichlet boundary conditions applied on the geometric and finite element entities of the model.
BoundaryConditions::BoundaryConditions | ( | BoundaryConditions & | Instance | ) |
Copy-initializer constructor.
[in] | Instance | - instance of the BoundaryConditions class whose data will be copied to the current object. |
Array< LoadIntensity > & BoundaryConditions::GetDBC | ( | Entity_E | Entity, |
DBC_E | DBCFlag | ||
) |
Returns the Dirichlet boundary conditions on the given entity type as an array of the LoadIntensity class.
[in] | Entity | - entity type (NODE, EDGE, FACE, KEYPOINT, LINE, SURFACE). |
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
Array< LoadIntensity > & BoundaryConditions::GetDBCEdges | ( | DBC_E | DBCFlag | ) |
Returns the Dirichlet boundary conditions applied to the edges of elements as an array of LoadIntensity class.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
Array< LoadIntensity > & BoundaryConditions::GetDBCFaces | ( | DBC_E | DBCFlag | ) |
Returns the Dirichlet boundary conditions applied to the faces of elements as an array of LoadIntensity class.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
Array< LoadIntensity > & BoundaryConditions::GetDBCKeypoints | ( | DBC_E | DBCFlag | ) |
Returns the Dirichlet boundary conditions applied to the geometric keypoints as an array of the LoadIntensity class.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
Array< LoadIntensity > & BoundaryConditions::GetDBCLines | ( | DBC_E | DBCFlag | ) |
Returns the Dirichlet boundary conditions applied to the geometric lines as an array of the LoadIntensity class.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
Array< LoadIntensity > & BoundaryConditions::GetDBCNodes | ( | DBC_E | DBCFlag | ) |
Returns the Dirichlet boundary conditions applied to the nodes as an array of LoadIntensity class.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
DirichletBC & BoundaryConditions::GetDBCs | ( | DBC_E | DBCFlag | ) |
Returns all the Dirichlet boundary conditions as an array of the DirichletBC class.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
Array< LoadIntensity > & BoundaryConditions::GetDBCSurfaces | ( | DBC_E | DBCFlag | ) |
Returns the Dirichlet boundary conditions applied to the geometric surfaces as an array of the LoadIntensity class.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
unsigned long BoundaryConditions::GetNumberDBC | ( | Entity_E | Entity, |
DBC_E | DBCFlag | ||
) |
Returns the number of Dirichlet boundary conditions on the given entity type.
[in] | Entity | - entity type (NODE, EDGE, FACE, KEYPOINT, LINE, SURFACE). |
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
unsigned long BoundaryConditions::GetNumberDBCEdges | ( | DBC_E | DBCFlag | ) |
Returns the number of Dirichlet boundary conditions on element edges.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
unsigned long BoundaryConditions::GetNumberDBCFaces | ( | DBC_E | DBCFlag | ) |
Returns the number of Dirichlet boundary conditions on element faces.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
unsigned long BoundaryConditions::GetNumberDBCKeypoints | ( | DBC_E | DBCFlag | ) |
Returns the number of Dirichlet boundary conditions on geometric keypoints.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
unsigned long BoundaryConditions::GetNumberDBCLines | ( | DBC_E | DBCFlag | ) |
Returns the number of Dirichlet boundary conditions on geometric lines.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
unsigned long BoundaryConditions::GetNumberDBCNodes | ( | DBC_E | DBCFlag | ) |
Returns the number of Dirichlet boundary conditions on nodes.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
unsigned long BoundaryConditions::GetNumberDBCSurfaces | ( | DBC_E | DBCFlag | ) |
Returns the number of Dirichlet boundary conditions on geometric surfaces.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
unsigned long BoundaryConditions::GetTotalNumberDBCs | ( | DBC_E | DBCFlag | ) |
Returns the total number of Dirichlet boundary conditions applied to the model for all entity types.
[in] | DBCFlag | - Flag to indicate homogeneous (HDBC) or non-homogeneous (NHDBC) Dirichlet boundary conditions, |
BoundaryConditions & BoundaryConditions::operator= | ( | BoundaryConditions & | Instance | ) |
Copies the contents of Instance to the current object.
[in] | Instance | - instance of the BoundaryConditions class whose data will be copied to the current object. |
void BoundaryConditions::Print | ( | FILE * | File, |
char * | Message = "" |
||
) |
Prints class data in ASCII format.
[in] | File | - pointer to the ASCII file. |
[in] | Message | - optional message. |
void BoundaryConditions::Read | ( | FILE * | DEFFile, |
DOFs & | DOFsAttributes | ||
) |
Reads class data from the .def ASCII file.
[in] | DEFFile | - pointer to the .def file. |
[in] | DOFsAttributes | - names and cardinalities of the dofs used in the model. |