![]() |
|
#include <constitutive_laws.h>
Public Member Functions | |
StrainEnergyFunction () | |
Constructor takes no arguments. More... | |
virtual | ~StrainEnergyFunction () |
Empty virtual destructor. More... | |
virtual double | W (const DenseMatrix< double > &gamma) |
Return the strain energy in terms of the strain tensor. More... | |
virtual double | W (const Vector< double > &I) |
Return the strain energy in terms of the strain invariants. More... | |
virtual void | derivative (const DenseMatrix< double > &gamma, DenseMatrix< double > &dWdgamma) |
virtual void | derivatives (Vector< double > &I, Vector< double > &dWdI) |
virtual bool | requires_incompressibility_constraint ()=0 |
Base class for strain energy functions to be used in solid mechanics computations.
|
inlinevirtual |
|
inlinevirtual |
Return the derivatives of the strain energy function with respect to the components of the strain tensor (default is to use finite differences).
References OOMPH_CURRENT_FUNCTION, and OOMPH_EXCEPTION_LOCATION.
|
inlinevirtual |
Return the derivatives of the strain energy function with respect to the strain invariants. Default version is to use finite differences
Reimplemented in oomph::GeneralisedMooneyRivlin, and oomph::MooneyRivlin.
Referenced by oomph::IsotropicStrainEnergyFunctionConstitutiveLaw::calculate_second_piola_kirchhoff_stress().
|
pure virtual |
Pure virtual function in which the user must declare if the constitutive equation requires an incompressible formulation in which the volume constraint is enforced explicitly. Used as a sanity check in PARANOID mode.
Implemented in oomph::GeneralisedMooneyRivlin, and oomph::MooneyRivlin.
Referenced by oomph::IsotropicStrainEnergyFunctionConstitutiveLaw::requires_incompressibility_constraint().
|
inlinevirtual |
Return the strain energy in terms of the strain tensor.
Reimplemented in oomph::GeneralisedMooneyRivlin, and oomph::MooneyRivlin.
References OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION, and oomph::Global_string_for_annotation::string().
Referenced by derivatives(), oomph::MooneyRivlin::W(), and oomph::GeneralisedMooneyRivlin::W().
Return the strain energy in terms of the strain invariants.
Reimplemented in oomph::GeneralisedMooneyRivlin, and oomph::MooneyRivlin.
References OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION, and oomph::Global_string_for_annotation::string().