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

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

#include <tmop.hpp>

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

Public Member Functions

 TMOP_Metric_332 (real_t gamma)
 
virtual int Id () const
 Return the metric ID.
 
real_t GetGamma () const
 
virtual ~TMOP_Metric_332 ()
 
- Public Member Functions inherited from mfem::TMOP_Combo_QualityMetric
virtual void AddQualityMetric (TMOP_QualityMetric *tq, real_t wt=1.0)
 
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 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'.
 
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< real_t > &weights) const
 
void SetWeights (const Vector &weights)
 Changes the weights of the metrics in the combination.
 
- Public Member Functions inherited from mfem::TMOP_QualityMetric
 TMOP_QualityMetric ()
 
virtual ~TMOP_QualityMetric ()
 
- Public Member Functions inherited from mfem::HyperelasticModel
 HyperelasticModel ()
 
virtual ~HyperelasticModel ()
 
void SetTransformation (ElementTransformation &Ttr_)
 

Protected Attributes

TMOP_QualityMetricsh_metric
 
TMOP_QualityMetricsz_metric
 
- Protected Attributes inherited from mfem::TMOP_Combo_QualityMetric
Array< TMOP_QualityMetric * > tmop_q_arr
 
Array< real_twt_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.
 

Detailed Description

3D compound barrier Shape+Size (VS) metric (polyconvex).

Definition at line 931 of file tmop.hpp.

Constructor & Destructor Documentation

◆ TMOP_Metric_332()

mfem::TMOP_Metric_332::TMOP_Metric_332 ( real_t gamma)
inline

Definition at line 937 of file tmop.hpp.

◆ ~TMOP_Metric_332()

virtual mfem::TMOP_Metric_332::~TMOP_Metric_332 ( )
inlinevirtual

Definition at line 948 of file tmop.hpp.

Member Function Documentation

◆ GetGamma()

real_t mfem::TMOP_Metric_332::GetGamma ( ) const
inline

Definition at line 946 of file tmop.hpp.

◆ Id()

virtual int mfem::TMOP_Metric_332::Id ( ) const
inlinevirtual

Return the metric ID.

Reimplemented from mfem::TMOP_QualityMetric.

Definition at line 945 of file tmop.hpp.

Member Data Documentation

◆ sh_metric

TMOP_QualityMetric* mfem::TMOP_Metric_332::sh_metric
protected

Definition at line 934 of file tmop.hpp.

◆ sz_metric

TMOP_QualityMetric * mfem::TMOP_Metric_332::sz_metric
protected

Definition at line 934 of file tmop.hpp.


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