MFEM v4.8.0
Finite element discretization library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
mfem::TMOP_AMetric_051 Class Reference

2D barrier Size+Skew (VQ) metric. More...

#include <tmop.hpp>

Inheritance diagram for mfem::TMOP_AMetric_051:
[legend]
Collaboration diagram for mfem::TMOP_AMetric_051:
[legend]

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'.
 
- Public Member Functions inherited from mfem::TMOP_QualityMetric
 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.
 
- Public Member Functions inherited from mfem::HyperelasticModel
 HyperelasticModel ()
 
virtual ~HyperelasticModel ()
 
void SetTransformation (ElementTransformation &Ttr_)
 

Protected Attributes

InvariantsEvaluator2D< real_tie
 
- Protected Attributes inherited from mfem::TMOP_QualityMetric
const DenseMatrixJtr
 
- Protected Attributes inherited from mfem::HyperelasticModel
ElementTransformationTtr
 

Additional Inherited Members

- Protected Member Functions inherited from mfem::TMOP_QualityMetric
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.
 

Detailed Description

2D barrier Size+Skew (VQ) metric.

Definition at line 1208 of file tmop.hpp.

Member Function Documentation

◆ AssembleH()

void mfem::TMOP_AMetric_051::AssembleH ( const DenseMatrix & Jpt,
const DenseMatrix & DS,
const real_t weight,
DenseMatrix & A ) const
overridevirtual

Evaluate the derivative of the 1st Piola-Kirchhoff stress tensor and assemble its contribution to the local gradient matrix 'A'.

Parameters
[in]JptRepresents the target->physical transformation Jacobian matrix.
[in]DSGradient of the basis matrix (dof x dim).
[in]weightQuadrature weight coefficient for the point.
[in,out]ALocal 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.

Definition at line 2096 of file tmop.cpp.

◆ EvalP()

void mfem::TMOP_AMetric_051::EvalP ( const DenseMatrix & Jpt,
DenseMatrix & P ) const
overridevirtual

Evaluate the 1st Piola-Kirchhoff stress tensor, P = P(Jpt).

Parameters
[in]JptRepresents the target->physical transformation Jacobian matrix.
[out]PThe evaluated 1st Piola-Kirchhoff stress tensor.

Implements mfem::TMOP_QualityMetric.

Definition at line 2084 of file tmop.cpp.

◆ EvalPW()

void mfem::TMOP_AMetric_051::EvalPW ( const DenseMatrix & Jpt,
DenseMatrix & PW ) const
overridevirtual

Compute dmu/dW

Reimplemented from mfem::TMOP_QualityMetric.

Definition at line 2090 of file tmop.cpp.

◆ EvalW()

real_t mfem::TMOP_AMetric_051::EvalW ( const DenseMatrix & Jpt) const
inlineoverridevirtual

Evaluate the strain energy density function, W = W(Jpt), by using the 2D or 3D matrix invariants, see linalg/invariants.hpp.

Parameters
[in]JptRepresents the target->physical transformation Jacobian matrix.

Implements mfem::TMOP_QualityMetric.

Definition at line 1218 of file tmop.hpp.

◆ EvalWMatrixForm()

real_t mfem::TMOP_AMetric_051::EvalWMatrixForm ( const DenseMatrix & Jpt) const
overridevirtual

Evaluates the metric in matrix form (opposed to invariant form). Used for validating the invariant evaluations.

Reimplemented from mfem::TMOP_QualityMetric.

Definition at line 2070 of file tmop.cpp.

Member Data Documentation

◆ ie

InvariantsEvaluator2D<real_t> mfem::TMOP_AMetric_051::ie
mutableprotected

Definition at line 1211 of file tmop.hpp.


The documentation for this class was generated from the following files: