|
template<typename T > |
MFEM_HOST_DEVICE tensor< T, dim, dim > | stress (const tensor< T, dim, dim > &dudx) const |
| Compute the stress response.
|
|
MFEM_HOST_DEVICE tensor< mfem::real_t, dim, dim, dim, dim > | gradient (tensor< mfem::real_t, dim, dim > dudx) const |
| Compute the gradient.
|
|
MFEM_HOST_DEVICE tensor< mfem::real_t, dim, dim > | action_of_gradient (const tensor< mfem::real_t, dim, dim > &dudx, const tensor< mfem::real_t, dim, dim > &ddudx) const |
| Apply the gradient of the stress.
|
|
MFEM_HOST_DEVICE tensor< mfem::real_t, dim, dim > | action_of_gradient_dual (const tensor< mfem::real_t, dim, dim > &dudx, const tensor< mfem::real_t, dim, dim > &ddudx) const |
|
MFEM_HOST_DEVICE tensor< mfem::real_t, dim, dim > | action_of_gradient_enzyme_fwd (const tensor< mfem::real_t, dim, dim > &dudx, const tensor< mfem::real_t, dim, dim > &ddudx) const |
|
MFEM_HOST_DEVICE tensor< mfem::real_t, dim, dim > | action_of_gradient_enzyme_rev (const tensor< mfem::real_t, dim, dim > &dudx, const tensor< mfem::real_t, dim, dim > &ddudx) const |
|
MFEM_HOST_DEVICE tensor< mfem::real_t, dim, dim > | action_of_gradient_finite_diff (const tensor< mfem::real_t, dim, dim > &dudx, const tensor< mfem::real_t, dim, dim > &ddudx) const |
|
MFEM_HOST_DEVICE tensor< mfem::real_t, dim, dim > | action_of_gradient_symbolic (const tensor< mfem::real_t, dim, dim > &du_dx, const tensor< mfem::real_t, dim, dim > &ddu_dx) const |
|
template<int dim = 3,
GradientType gradient_type = GradientType::Symbolic>
struct NeoHookeanMaterial< dim, gradient_type >
Neo-Hookean material.
Defines a Neo-Hookean material response. It satisfies the material_type interface for ElasticityOperator::SetMaterial. This material type allows choosing the method of derivative calculation in action_of_gradient
. Choices include methods derived by hand using symbolic calculation and a variety of automatically computed gradient applications, like
- Enzyme forward mode
- Enzyme reverse mode
- Dual number type forward mode
- Finite difference mode
- Template Parameters
-
Definition at line 40 of file neohookean.hpp.