![]() |
MFEM v4.8.0
Finite element discretization library
|
2D barrier Skew (Q) metric. More...
#include <tmop.hpp>
Public Member Functions | |
real_t | EvalWMatrixForm (const DenseMatrix &Jpt) const override |
Evaluates the metric in matrix form (opposed to invariant form). Used for validating the invariant evaluations. | |
real_t | EvalW (const DenseMatrix &Jpt) const override |
Evaluate the strain energy density function, W = W(Jpt), by using the 2D or 3D matrix invariants, see linalg/invariants.hpp. | |
void | EvalP (const DenseMatrix &Jpt, DenseMatrix &P) const override |
Evaluate the 1st Piola-Kirchhoff stress tensor, P = P(Jpt). | |
void | EvalPW (const DenseMatrix &Jpt, DenseMatrix &PW) const override |
void | AssembleH (const DenseMatrix &Jpt, const DenseMatrix &DS, const real_t weight, DenseMatrix &A) const override |
Evaluate the derivative of the 1st Piola-Kirchhoff stress tensor and assemble its contribution to the local gradient matrix 'A'. | |
![]() | |
TMOP_QualityMetric () | |
virtual | ~TMOP_QualityMetric () |
virtual void | SetTargetJacobian (const DenseMatrix &Jtr_) |
Specify the reference-element -> target-element Jacobian matrix for the point of interest. | |
virtual int | Id () const |
Return the metric ID. | |
![]() | |
HyperelasticModel () | |
virtual | ~HyperelasticModel () |
void | SetTransformation (ElementTransformation &Ttr_) |
Protected Attributes | |
InvariantsEvaluator2D< real_t > | ie |
![]() | |
const DenseMatrix * | Jtr |
![]() | |
ElementTransformation * | Ttr |
Additional Inherited Members | |
![]() | |
void | SetTransformation (ElementTransformation &) |
The method HyperelasticModel::SetTransformation() is hidden for TMOP_QualityMetrics, because it is not used. | |
void | DefaultAssembleH (const DenseTensor &H, const DenseMatrix &DS, const real_t weight, DenseMatrix &A) const |
See AssembleH(). This is a default implementation for the case when the 2nd derivatives of the metric are pre-computed and stored into H. This function is used in combination with AD-based computations. | |
|
overridevirtual |
Evaluate the derivative of the 1st Piola-Kirchhoff stress tensor and assemble its contribution to the local gradient matrix 'A'.
[in] | Jpt | Represents the target->physical transformation Jacobian matrix. |
[in] | DS | Gradient of the basis matrix (dof x dim). |
[in] | weight | Quadrature weight coefficient for the point. |
[in,out] | A | Local gradient matrix where the contribution from this point will be added. |
Computes weight * d(dW_dxi)_d(xj) at the current point, for all i and j, where x1 ... xn are the FE dofs. This function is usually defined using the matrix invariants and their derivatives.
Implements mfem::TMOP_QualityMetric.
|
overridevirtual |
Evaluate the 1st Piola-Kirchhoff stress tensor, P = P(Jpt).
[in] | Jpt | Represents the target->physical transformation Jacobian matrix. |
[out] | P | The evaluated 1st Piola-Kirchhoff stress tensor. |
Implements mfem::TMOP_QualityMetric.
|
overridevirtual |
Compute dmu/dW
Reimplemented from mfem::TMOP_QualityMetric.
|
inlineoverridevirtual |
Evaluate the strain energy density function, W = W(Jpt), by using the 2D or 3D matrix invariants, see linalg/invariants.hpp.
[in] | Jpt | Represents the target->physical transformation Jacobian matrix. |
Implements mfem::TMOP_QualityMetric.
|
overridevirtual |
Evaluates the metric in matrix form (opposed to invariant form). Used for validating the invariant evaluations.
Reimplemented from mfem::TMOP_QualityMetric.
|
mutableprotected |