#include <geometry_metric_calculator.h>
|
|
static void | CalculateMetricTensor (const GeometryType &rGeometry, BoundedMatrix< double, TDim, TDim > &rMetricTensor) |
| Calculate the metric tensor of a given geometry This function calculates the metric tensor and its data for a given geometry. The metric tensor M is computed by solving the problem trans(e)*M*e = 1, that means find the coefficients of the matrix M such that all the geometry edges (e) have unit lenght. More...
|
|
static void | CalculateMetricTensor (const GeometryType &rGeometry, BoundedMatrix< double, TDim, TDim > &rMetricTensor, double &rReferenceElementSize, double &rMetricInfimum, double &rMetricSupremum) |
| Calculate the metric tensor of a given geometry This function calculates the metric tensor and its data for a given geometry. The metric tensor M is computed by solving the problem trans(e)*M*e = 1, that means find the coefficients of the matrix M such that all the geometry edges (e) have unit lenght. The eigenvalues of the metric tensor are also computed in order to obtain the lenghts of the Steiner inertia ellipsis semiaxes. This allows computing the reference element size (as the average of the semiaxes lengths) and the infimum and supremum norms of M. More...
|
|
static void | CalculateMetricTensorDimensionless (const GeometryType &rGeometry, BoundedMatrix< double, TDim, TDim > &rMetricTensorDimensionless, double &rReferenceElementSize, double &rMetricInfimum, double &rMetricSupremum) |
| Calculate the metric tensor of a given geometry This function calculates the metric tensor and its data for a given geometry. The metric tensor M is computed by solving the problem trans(e)*M*e = 1, that means find the coefficients of the matrix M such that all the geometry edges (e) have unit lenght. The eigenvalues of the metric tensor are also computed in order to obtain the lenghts of the Steiner inertia ellipsis semiaxes. This allows computing the reference element size (as the average of the semiaxes lengths) and the infimum and supremum norms of M. Note that this methods returns the dimensionless metric that is the metric tensor multiplied by the square of the reference element size. More...
|
|
◆ GeometryType
template<std::size_t TDim, std::size_t TNumNodes>
◆ GeometryMetricCalculator() [1/2]
template<std::size_t TDim, std::size_t TNumNodes>
◆ GeometryMetricCalculator() [2/2]
template<std::size_t TDim, std::size_t TNumNodes>
Deleted copy constructor.
◆ CalculateMetricTensor() [1/4]
◆ CalculateMetricTensor() [2/4]
◆ CalculateMetricTensor() [3/4]
template<std::size_t TDim, std::size_t TNumNodes>
Calculate the metric tensor of a given geometry This function calculates the metric tensor and its data for a given geometry. The metric tensor M is computed by solving the problem trans(e)*M*e = 1, that means find the coefficients of the matrix M such that all the geometry edges (e) have unit lenght.
- Template Parameters
-
- Parameters
-
rGeometry | Reference to the geometry of interest |
rMetricTensor | Reference to the metric tensor |
◆ CalculateMetricTensor() [4/4]
template<std::size_t TDim, std::size_t TNumNodes>
Calculate the metric tensor of a given geometry This function calculates the metric tensor and its data for a given geometry. The metric tensor M is computed by solving the problem trans(e)*M*e = 1, that means find the coefficients of the matrix M such that all the geometry edges (e) have unit lenght. The eigenvalues of the metric tensor are also computed in order to obtain the lenghts of the Steiner inertia ellipsis semiaxes. This allows computing the reference element size (as the average of the semiaxes lengths) and the infimum and supremum norms of M.
- Template Parameters
-
- Parameters
-
rGeometry | Reference to the geometry of interest |
rMetricTensor | Reference to the metric tensor |
rReferenceElementSize | Reference to the reference element size |
rMetricInfimum | Reference to the metric infimum |
rMetricSupremum | Reference to the metric supremum |
◆ CalculateMetricTensorDimensionless()
template<std::size_t TDim, std::size_t TNumNodes>
Calculate the metric tensor of a given geometry This function calculates the metric tensor and its data for a given geometry. The metric tensor M is computed by solving the problem trans(e)*M*e = 1, that means find the coefficients of the matrix M such that all the geometry edges (e) have unit lenght. The eigenvalues of the metric tensor are also computed in order to obtain the lenghts of the Steiner inertia ellipsis semiaxes. This allows computing the reference element size (as the average of the semiaxes lengths) and the infimum and supremum norms of M. Note that this methods returns the dimensionless metric that is the metric tensor multiplied by the square of the reference element size.
- Template Parameters
-
- Parameters
-
rGeometry | Reference to the geometry of interest |
rMetricTensor | Reference to the metric tensor |
rReferenceElementSize | Reference to the reference element size |
rMetricInfimum | Reference to the metric infimum |
rMetricSupremum | Reference to the metric supremum |
◆ KRATOS_CLASS_POINTER_DEFINITION()
template<std::size_t TDim, std::size_t TNumNodes>
◆ operator=()
template<std::size_t TDim, std::size_t TNumNodes>
Deleted assignment operator.
The documentation for this class was generated from the following files: