MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::TMOP_Metric_022 Class Reference

2D Shifted barrier form of shape metric (mu_2). More...

#include <tmop.hpp>

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

Public Member Functions

 TMOP_Metric_022 (real_t &t0)
 
virtual real_t EvalW (const DenseMatrix &Jpt) const
 Evaluate the strain energy density function, W = W(Jpt), by using the 2D or 3D matrix invariants, see linalg/invariants.hpp.
 
virtual void EvalP (const DenseMatrix &Jpt, DenseMatrix &P) const
 Evaluate the 1st Piola-Kirchhoff stress tensor, P = P(Jpt).
 
virtual void AssembleH (const DenseMatrix &Jpt, const DenseMatrix &DS, const real_t weight, DenseMatrix &A) const
 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 real_t EvalWMatrixForm (const DenseMatrix &Jpt) const
 Evaluates the metric in matrix form (opposed to invariant form). Used for validating the invariant evaluations.
 
virtual int Id () const
 Return the metric ID.
 
- Public Member Functions inherited from mfem::HyperelasticModel
 HyperelasticModel ()
 
virtual ~HyperelasticModel ()
 
void SetTransformation (ElementTransformation &Ttr_)
 

Protected Attributes

real_tmin_detT
 
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.
 

Detailed Description

2D Shifted barrier form of shape metric (mu_2).

Definition at line 393 of file tmop.hpp.

Constructor & Destructor Documentation

◆ TMOP_Metric_022()

mfem::TMOP_Metric_022::TMOP_Metric_022 ( real_t & t0)
inline

Definition at line 400 of file tmop.hpp.

Member Function Documentation

◆ AssembleH()

void mfem::TMOP_Metric_022::AssembleH ( const DenseMatrix & Jpt,
const DenseMatrix & DS,
const real_t weight,
DenseMatrix & A ) const
virtual

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 543 of file tmop.cpp.

◆ EvalP()

void mfem::TMOP_Metric_022::EvalP ( const DenseMatrix & Jpt,
DenseMatrix & P ) const
virtual

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 533 of file tmop.cpp.

◆ EvalW()

real_t mfem::TMOP_Metric_022::EvalW ( const DenseMatrix & Jpt) const
virtual

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 513 of file tmop.cpp.

Member Data Documentation

◆ ie

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

Definition at line 397 of file tmop.hpp.

◆ min_detT

real_t& mfem::TMOP_Metric_022::min_detT
protected

Definition at line 396 of file tmop.hpp.


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