|
hp2FEM
0.1
|

Public Member Functions | |
| Mapping () | |
| Default constructor. | |
| Mapping (ShapeFunctions &InterpolationFunctions) | |
| Constructor with parameters to set the attributes of the Mapping class. | |
| Mapping (ShapeFunctions &InterpolationFunctions, unsigned long Dimension, unsigned long MaxNumberIntegPoints, Mesh &MapMesh) | |
| Constructor with parameters to set the attributes of the Mapping class. | |
| Mapping (Mapping &Instance) | |
| Copy-initializer constructor. Copied the data of Instance to the current object. | |
| ~Mapping () | |
| Destructor. | |
| Mapping & | operator= (Mapping &Instance) |
| Copied the data of Instance to the current object. | |
| operator ShapeFunctions & () | |
| Returns an instance of the Shape Functions class. | |
| operator ShapeFunctions * () | |
| Returns an instance of the Shape Functions class. | |
| ShapeFunctions * | GetShapeFunctions () |
| Returns an instance of the Shape Functions class. | |
| unsigned long | GetNumberIntegPoints () |
| Returns the number of integration points. | |
| double *const | GetJacMatrix () |
| Returns the Auxiliar vector that stores the jacobian matrices for each integration point of an element. | |
| double *const | GetJacobian () |
| Returns the auxiliar vector that stores the Jacobian for each integration point of an element. | |
| void | SetShapeFunctions (ShapeFunctions *ShFunc) |
| Sets an instance of the Shape Functions class. | |
| void | SetMappingMeshPointer (Mesh &MapMesh) |
| Sets the pointer attribute of the mapping mesh. | |
| void | SetMaxNumberIntegPoints (unsigned long MaxNumberIntegPoints, unsigned long Dimension) |
| Sets the maximum number of integration points used to allocate the auxiliary vectors. | |
| void | GetJacobianClassic (unsigned long ElementNumber, unsigned long Dim, unsigned long IntegOrder, unsigned long ElemOrder, ElementShape_E ElemShape, ElementShape_E EntityShape, unsigned long NumberCoords, double *Coords, unsigned long &NumberIntegrationPoints, double &ElementMeasure, double **JacobianMatrices, double **DetJacobianMatrices) |
| Returns the element Jacobian matrices and their determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure. | |
| double *const | GetJacobianClassic (unsigned long ElementNumber, unsigned long &NumberSF, unsigned long &NumberIntegrationPoints, double ElementMeasure, double const *JacobianMatricesUM, double const *DetJacobianMatricesUM, double const *JacobianMatricesDM, double const *DetJacobianMatricesDM) |
| Returns the element Jacobian matrices and their determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure. | |
| void | GetFaceJacobian (unsigned long ElementNumber, unsigned long Dim, unsigned long IntegOrder, unsigned long ElemOrder, ElementShape_E ElemShape, ElementShape_E EntityShape, unsigned long NumberCoords, double *Coords, unsigned long &NumberIntegrationPoints, double **Js) |
| Returns the element surface Jacobian determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure. | |
| void | GetEdgeJacobian (unsigned long ElementNumber, unsigned long Dim, unsigned long IntegOrder, unsigned long ElemOrder, ElementShape_E ElemShape, ElementShape_E EntityShape, unsigned long NumberCoords, double *Coords, unsigned long &NumberIntegrationPoints, double **Jc) |
| Returns the element surface Jacobian determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure. | |
| void | GetFaceJacobian1DMatrices (unsigned long ElementNumber, unsigned long Dim, unsigned long IntegOrder, unsigned long ElemOrder, ElementShape_E ElemShape, ElementShape_E EntityShape, unsigned long NumberCoords, double *Coords, unsigned long &NumberIntegrationPoints, double **Js) |
| Returns the element surface Jacobian determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure. | |
| void | GetEdgeJacobian1DMatrices (unsigned long ElementNumber, unsigned long Dim, unsigned long IntegOrder, unsigned long ElemOrder, ElementShape_E ElemShape, ElementShape_E EntityShape, unsigned long NumberCoords, double *Coords, unsigned long &NumberIntegrationPoints, double **Jc) |
| Returns the element surface Jacobian determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure. | |
| void | GetJacobian1DMatrices (unsigned long ElementNumber, unsigned long Dim, unsigned long IntegOrder, unsigned long ElemOrder, ElementShape_E ElemShape, ElementShape_E EntityShape, unsigned long NumberCoords, double *Coords, unsigned long &NumberIntegrationPoints, double &ElementMeasure, double **JacobianMatrices, double **DetJacobianMatrices) |
| Returns the element Jacobian matrices and their determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure. | |
| void | GetJacobian1DMatrices (unsigned long ElementNumber, unsigned long Dim, unsigned long IntegPoint, unsigned long IntegOrder, unsigned long ElemOrder, ElementShape_E ElemShape, ElementShape_E EntityShape, unsigned long NumberCoords, double *Coords, unsigned long &NumberIntegrationPoints, double &ElementMeasure, double **JacobianMatrices, double **DetJacobianMatrices) |
| Returns the element Jacobian matrices and their determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure. | |
| double *const | GetJacobian1DMatrices (unsigned long ElementNumber, unsigned long &NumberSF, unsigned long &NumberIntegrationPoints, double ElementMeasure, double const *JacobianMatricesUM, double const *DetJacobianMatricesUM, double const *JacobianMatricesDM, double const *DetJacobianMatricesDM) |
| Returns the element Jacobian matrices and their determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure. | |
| void | Print (FILE *File, unsigned long Dimension) |
| Prints Mapping information to an ASCII file. | |
Protected Attributes | |
| Vector | JacMatrix |
| Auxiliar vector that stores the jacobian matrices for each integration point of an element. | |
| Vector | Jacobian |
| Auxiliar vector that stores the Jacobian for each integration point of an element. | |
| Vector | EdgeJacobian |
| |
| Vector | FaceJacobian |
| |
| ShapeFunctions * | SF |
| Pointer to the shape functions. | |
| unsigned long | NumberIntegPoints |
| Stores the number of integration points for each jacobian matrix. | |
| Mesh * | MappingMesh |
| The pointer to the mapping meh. | |
| Mapping::Mapping | ( | ShapeFunctions & | InterpolationFunctions | ) |
Constructor with parameters to set the attributes of the Mapping class.
| [in] | InterpolationFunctions | - The shape functions |
| Mapping::Mapping | ( | ShapeFunctions & | InterpolationFunctions, |
| unsigned long | Dimension, | ||
| unsigned long | MaxNumberIntegPoints, | ||
| Mesh & | MapMesh | ||
| ) |
Constructor with parameters to set the attributes of the Mapping class.
| [in] | InterpolationFunctions | - The shape functions. |
| [in] | Dimension | - dimension of the element. |
| [in] | MaxNumberIntegPoints | - maximum number of integration points for all elements. |
| Mapping::Mapping | ( | Mapping & | Instance | ) |
Copy-initializer constructor. Copied the data of Instance to the current object.
| Instance | - instance of Mapping whose data will be copied to the current object. |
| void Mapping::GetEdgeJacobian | ( | unsigned long | ElementNumber, |
| unsigned long | Dim, | ||
| unsigned long | IntegOrder, | ||
| unsigned long | ElemOrder, | ||
| ElementShape_E | ElemShape, | ||
| ElementShape_E | EntityShape, | ||
| unsigned long | NumberCoords, | ||
| double * | Coords, | ||
| unsigned long & | NumberIntegrationPoints, | ||
| double ** | Jc | ||
| ) |
Returns the element surface Jacobian determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure.
| [in] | ElementNumber | - local number of the element in the group. |
| [in] | Dim | - element dimension (1,2,3). |
| [in] | IntegOrder | - IntegrandOrder. |
| [in] | ElemOrder | - Element order. |
| [in] | ElemShape | - Element Shape. |
| [in] | EntityShape | - Entity Shape. |
| [in] | NumberCoords | - Number of element coordinates. |
| [in] | Coords | - the coordinates from the an element. |
| [out] | NumberIntegrationPoints | - number of integration points. |
| [out] | Jc | - Edge Jacobian on integration points. |
| void Mapping::GetEdgeJacobian1DMatrices | ( | unsigned long | ElementNumber, |
| unsigned long | Dim, | ||
| unsigned long | IntegOrder, | ||
| unsigned long | ElemOrder, | ||
| ElementShape_E | ElemShape, | ||
| ElementShape_E | EntityShape, | ||
| unsigned long | NumberCoords, | ||
| double * | Coords, | ||
| unsigned long & | NumberIntegrationPoints, | ||
| double ** | Jc | ||
| ) |
Returns the element surface Jacobian determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure.
| [in] | ElementNumber | - local number of the element in the group. |
| [in] | Dim | - element dimension (1,2,3). |
| [in] | IntegOrder | - IntegrandOrder. |
| [in] | ElemOrder | - Element order. |
| [in] | ElemShape | - Element Shape. |
| [in] | EntityShape | - Entity Shape. |
| [in] | NumberCoords | - Number of element coordinates. |
| [in] | Coords | - the coordinates from the an element. |
| [out] | NumberIntegrationPoints | - number of integration points. |
| [out] | Jc | - Edge Jacobian on integration points. |
| void Mapping::GetFaceJacobian | ( | unsigned long | ElementNumber, |
| unsigned long | Dim, | ||
| unsigned long | IntegOrder, | ||
| unsigned long | ElemOrder, | ||
| ElementShape_E | ElemShape, | ||
| ElementShape_E | EntityShape, | ||
| unsigned long | NumberCoords, | ||
| double * | Coords, | ||
| unsigned long & | NumberIntegrationPoints, | ||
| double ** | Js | ||
| ) |
Returns the element surface Jacobian determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure.
| [in] | ElementNumber | - local number of the element in the group. |
| [in] | Dim | - element dimension (1,2,3). |
| [in] | IntegOrder | - IntegrandOrder. |
| [in] | ElemOrder | - Element order. |
| [in] | ElemShape | - Element Shape. |
| [in] | EntityShape | - Entity Shape. |
| [in] | NumberCoords | - Number of element coordinates. |
| [in] | Coords | - the coordinates from the an element. |
| [out] | NumberIntegrationPoints | - number of integration points. |
| [out] | Js | - Surface Jacobian on integration points. |
| void Mapping::GetFaceJacobian1DMatrices | ( | unsigned long | ElementNumber, |
| unsigned long | Dim, | ||
| unsigned long | IntegOrder, | ||
| unsigned long | ElemOrder, | ||
| ElementShape_E | ElemShape, | ||
| ElementShape_E | EntityShape, | ||
| unsigned long | NumberCoords, | ||
| double * | Coords, | ||
| unsigned long & | NumberIntegrationPoints, | ||
| double ** | Js | ||
| ) |
Returns the element surface Jacobian determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure.
| [in] | ElementNumber | - local number of the element in the group. |
| [in] | Dim | - element dimension (1,2,3). |
| [in] | IntegOrder | - IntegrandOrder. |
| [in] | ElemOrder | - Element order. |
| [in] | ElemShape | - Element Shape. |
| [in] | EntityShape | - Entity Shape. |
| [in] | NumberCoords | - Number of element coordinates. |
| [in] | Coords | - the coordinates from the an element. |
| [out] | NumberIntegrationPoints | - number of integration points. |
| [out] | Js | - Face Jacobian on integration points. |
| void Mapping::GetJacobian1DMatrices | ( | unsigned long | ElementNumber, |
| unsigned long | Dim, | ||
| unsigned long | IntegOrder, | ||
| unsigned long | ElemOrder, | ||
| ElementShape_E | ElemShape, | ||
| ElementShape_E | EntityShape, | ||
| unsigned long | NumberCoords, | ||
| double * | Coords, | ||
| unsigned long & | NumberIntegrationPoints, | ||
| double & | ElementMeasure, | ||
| double ** | JacobianMatrices, | ||
| double ** | DetJacobianMatrices | ||
| ) |
Returns the element Jacobian matrices and their determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure.
| [in] | ElementNumber | - local number of the element in the group. |
| [in] | Dim | - element dimension (1,2,3). |
| [in] | IntegOrder | - IntegrandOrder. |
| [in] | ElemOrder | - Element order. |
| [in] | ElemShape | - Element shape. |
| [in] | EntityShape | - Entity Shape. |
| [in] | NumberCoords | - Number of element coordinates. |
| [in] | Coords | - the coordinates from the an element. |
| [out] | NumberIntegrationPoints | - number of integration points. |
| [out] | ElementMeasure | - Lenght, area or volume of the element. |
| [out] | JacobianMatrices | - Jacobian matrices on integration points. |
| [out] | DetJacobianMatrices | - Determinant of Jacobian matrices on integration points. |
| void Mapping::GetJacobian1DMatrices | ( | unsigned long | ElementNumber, |
| unsigned long | Dim, | ||
| unsigned long | IntegPoint, | ||
| unsigned long | IntegOrder, | ||
| unsigned long | ElemOrder, | ||
| ElementShape_E | ElemShape, | ||
| ElementShape_E | EntityShape, | ||
| unsigned long | NumberCoords, | ||
| double * | Coords, | ||
| unsigned long & | NumberIntegrationPoints, | ||
| double & | ElementMeasure, | ||
| double ** | JacobianMatrices, | ||
| double ** | DetJacobianMatrices | ||
| ) |
Returns the element Jacobian matrices and their determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure.
| [in] | ElementNumber | - local number of the element in the group. |
| [in] | Dim | - element dimension (1,2,3). |
| [in] | IntegPoint | - Integration point. |
| [in] | IntegOrder | - IntegrandOrder. |
| [in] | ElemOrder | - Element order. |
| [in] | ElemShape | - Element shape. |
| [in] | EntityShape | - Entity Shape. |
| [in] | NumberCoords | - Number of element coordinates. |
| [in] | Coords | - the coordinates from the an element. |
| [out] | NumberIntegrationPoints | - number of integration points. |
| [out] | ElementMeasure | - Lenght, area or volume of the element. |
| [out] | JacobianMatrices | - Jacobian matrices on integration points. |
| [out] | DetJacobianMatrices | - Determinant of Jacobian matrices on integration points. |
| double *const Mapping::GetJacobian1DMatrices | ( | unsigned long | ElementNumber, |
| unsigned long & | NumberSF, | ||
| unsigned long & | NumberIntegrationPoints, | ||
| double | ElementMeasure, | ||
| double const * | JacobianMatricesUM, | ||
| double const * | DetJacobianMatricesUM, | ||
| double const * | JacobianMatricesDM, | ||
| double const * | DetJacobianMatricesDM | ||
| ) |
Returns the element Jacobian matrices and their determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure.
| [in] | ElementNumber | - local number of the element in the group. |
| [out] | NumberSF | - Number of element shape functions. |
| [out] | NumberIntegrationPoints | - number of integration points. |
| [out] | ElementMeasure | - Lenght, area or volume of the element. |
| [out] | JacobianMatricesUM | - Jacobian matrices on integration points calculated using the nodal coordinates of the initial undeformed configuration. |
| [out] | DetJacobianMatricesUM | - Determinant of Jacobian matrices on integration points calculated using the nodal coordinates of the initial undeformed configuration. |
| [out] | JacobianMatricesDM | - Jacobian matrices on integration points calculated using the nodal coordinates of the current deformed configuration. |
| [out] | DetJacobianMatricesDM | - Determinant of Jacobian matrices on integration points calculated using the nodal coordinates of the current deformed configuration. |
| void Mapping::GetJacobianClassic | ( | unsigned long | ElementNumber, |
| unsigned long | Dim, | ||
| unsigned long | IntegOrder, | ||
| unsigned long | ElemOrder, | ||
| ElementShape_E | ElemShape, | ||
| ElementShape_E | EntityShape, | ||
| unsigned long | NumberCoords, | ||
| double * | Coords, | ||
| unsigned long & | NumberIntegrationPoints, | ||
| double & | ElementMeasure, | ||
| double ** | JacobianMatrices, | ||
| double ** | DetJacobianMatrices | ||
| ) |
Returns the element Jacobian matrices and their determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure.
| [in] | ElementNumber | - local number of the element in the group. |
| [in] | Dim | - element dimension (1,2,3). |
| [in] | IntegOrder | - IntegrandOrder. |
| [in] | ElemOrder | - Element order. |
| [in] | ElemShape | - Element shape. |
| [in] | EntityShape | - Entity Shape. |
| [in] | NumberCoords | - Number of element coordinates. |
| [in] | Coords | - the coordinates from the an element. |
| [out] | NumberIntegrationPoints | - number of integration points. |
| [out] | ElementMeasure | - Lenght, area or volume of the element. |
| [out] | JacobianMatrices | - Jacobian matrices on integration points. |
| [out] | DetJacobianMatrices | - Determinant of Jacobian matrices on integration points. |
| double *const Mapping::GetJacobianClassic | ( | unsigned long | ElementNumber, |
| unsigned long & | NumberSF, | ||
| unsigned long & | NumberIntegrationPoints, | ||
| double | ElementMeasure, | ||
| double const * | JacobianMatricesUM, | ||
| double const * | DetJacobianMatricesUM, | ||
| double const * | JacobianMatricesDM, | ||
| double const * | DetJacobianMatricesDM | ||
| ) |
Returns the element Jacobian matrices and their determinants for all integration points. It returns also the numbers of shape functions and integration points and also element measure.
| [in] | ElementNumber | - local number of the element in the group. |
| [out] | NumberSF | - Number of element shape functions. |
| [out] | NumberIntegrationPoints | - number of integration points. |
| [out] | ElementMeasure | - Lenght, area or volume of the element. |
| [out] | JacobianMatricesUM | - Jacobian matrices on integration points calculated using the nodal coordinates of the initial undeformed configuration. |
| [out] | DetJacobianMatricesUM | - Determinant of Jacobian matrices on integration points calculated using the nodal coordinates of the initial undeformed configuration. |
| [out] | JacobianMatricesDM | - Jacobian matrices on integration points calculated using the nodal coordinates of the current deformed configuration. |
| [out] | DetJacobianMatricesDM | - Determinant of Jacobian matrices on integration points calculated using the nodal coordinates of the current deformed configuration. |
| Mapping::operator ShapeFunctions & | ( | ) |
Returns an instance of the Shape Functions class.
| Mapping::operator ShapeFunctions * | ( | ) |
Returns an instance of the Shape Functions class.
Copied the data of Instance to the current object.
| Instance | - instance of Mapping whose data will be copied to the current object. |
| void Mapping::Print | ( | FILE * | File, |
| unsigned long | Dimension | ||
| ) |
Prints Mapping information to an ASCII file.
| [in] | File | - pointer to the ASCII file. |
| [in] | Dimension | - dimension of the element. |
| void Mapping::SetMaxNumberIntegPoints | ( | unsigned long | MaxNumberIntegPoints, |
| unsigned long | Dimension | ||
| ) |
Sets the maximum number of integration points used to allocate the auxiliary vectors.
| [in] | MaxNumberIntegPoints | - maximum number of integration points for all elements. |
| [in] | Dimension | - dimension of the element |
1.7.6.1