|
| virtual void | AddQualityMetric (TMOP_QualityMetric *tq, real_t wt=1.0) |
| |
| void | SetTargetJacobian (const DenseMatrix &Jtr_) override |
| | Specify the reference-element -> target-element Jacobian matrix for the point of interest.
|
| |
| 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 &P) 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'.
|
| |
| 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.
|
| |
| | TMOP_QualityMetric () |
| |
| virtual | ~TMOP_QualityMetric () |
| |
| virtual int | Id () const |
| | Return the metric ID.
|
| |
| | HyperelasticModel () |
| |
| virtual | ~HyperelasticModel () |
| |
| void | SetTransformation (ElementTransformation &Ttr_) |
| |
Abstract class used to define explicit combination of metrics with constant coefficients.
Definition at line 95 of file tmop.hpp.
Evaluate the derivative of the 1st Piola-Kirchhoff stress tensor and assemble its contribution to the local gradient matrix 'A'.
- Parameters
-
| [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.
Definition at line 484 of file tmop.cpp.
| void mfem::TMOP_Combo_QualityMetric::SetTargetJacobian |
( |
const DenseMatrix & | Jtr_ | ) |
|
|
inlineoverridevirtual |
Specify the reference-element -> target-element Jacobian matrix for the point of interest.
The specified Jacobian matrix, Jtr, can be used by metrics that cannot be written just as a function of the target->physical Jacobian matrix, Jpt.
Reimplemented from mfem::TMOP_QualityMetric.
Definition at line 108 of file tmop.hpp.