MFEM  v4.6.0
Finite element discretization library
Public Member Functions | Protected Attributes | List of all members
mfem::TMOP_AMetric_126 Class Reference

2D barrier Shape+Size (VS) metric (polyconvex). More...

#include <tmop.hpp>

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

Public Member Functions

 TMOP_AMetric_126 (double gamma)
 
virtual ~TMOP_AMetric_126 ()
 
- Public Member Functions inherited from mfem::TMOP_Combo_QualityMetric
virtual void AddQualityMetric (TMOP_QualityMetric *tq, double wt=1.0)
 
virtual void SetTargetJacobian (const DenseMatrix &Jtr_)
 Specify the reference-element -> target-element Jacobian matrix for the point of interest. More...
 
virtual double EvalWMatrixForm (const DenseMatrix &Jpt) const
 Evaluates the metric in matrix form (opposed to invariant form). Used for validating the invariant evaluations. More...
 
virtual double 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. More...
 
virtual void EvalP (const DenseMatrix &Jpt, DenseMatrix &P) const
 Evaluate the 1st Piola-Kirchhoff stress tensor, P = P(Jpt). More...
 
virtual void AssembleH (const DenseMatrix &Jpt, const DenseMatrix &DS, const double weight, DenseMatrix &A) const
 Evaluate the derivative of the 1st Piola-Kirchhoff stress tensor and assemble its contribution to the local gradient matrix 'A'. More...
 
void ComputeAvgMetrics (const GridFunction &nodes, const TargetConstructor &tc, Vector &averages) const
 
void ComputeBalancedWeights (const GridFunction &nodes, const TargetConstructor &tc, Vector &weights) const
 
void GetWeights (Array< double > &weights) const
 
void SetWeights (const Vector &weights)
 Changes the weights of the metrics in the combination. More...
 
- Public Member Functions inherited from mfem::TMOP_QualityMetric
 TMOP_QualityMetric ()
 
virtual ~TMOP_QualityMetric ()
 
virtual int Id () const
 Return the metric ID. More...
 
- Public Member Functions inherited from mfem::HyperelasticModel
 HyperelasticModel ()
 
virtual ~HyperelasticModel ()
 
void SetTransformation (ElementTransformation &Ttr_)
 

Protected Attributes

InvariantsEvaluator2D< double > ie
 
TMOP_QualityMetricsh_metric
 
TMOP_QualityMetricsz_metric
 
- Protected Attributes inherited from mfem::TMOP_Combo_QualityMetric
Array< TMOP_QualityMetric * > tmop_q_arr
 
Array< double > wt_arr
 
- 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. More...
 

Detailed Description

2D barrier Shape+Size (VS) metric (polyconvex).

Definition at line 1145 of file tmop.hpp.

Constructor & Destructor Documentation

◆ TMOP_AMetric_126()

mfem::TMOP_AMetric_126::TMOP_AMetric_126 ( double  gamma)
inline

Definition at line 1152 of file tmop.hpp.

◆ ~TMOP_AMetric_126()

virtual mfem::TMOP_AMetric_126::~TMOP_AMetric_126 ( )
inlinevirtual

Definition at line 1160 of file tmop.hpp.

Member Data Documentation

◆ ie

InvariantsEvaluator2D<double> mfem::TMOP_AMetric_126::ie
mutableprotected

Definition at line 1148 of file tmop.hpp.

◆ sh_metric

TMOP_QualityMetric* mfem::TMOP_AMetric_126::sh_metric
protected

Definition at line 1149 of file tmop.hpp.

◆ sz_metric

TMOP_QualityMetric * mfem::TMOP_AMetric_126::sz_metric
protected

Definition at line 1149 of file tmop.hpp.


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