37 [[nodiscard]]
constexpr std::string
nameImpl() const noexcept {
return "LinearElasticity"; }
52 using StrainMatrix = Eigen::Matrix<ScalarType, worldDimension, worldDimension>;
77 template <
typename Derived>
90 template <
bool voigt,
typename Derived>
92 return svk_.template stressesImpl<voigt>(E);
103 template <
bool voigt,
typename Derived>
105 return svk_.template tangentModuliImpl<voigt>(E);
114 template <
typename STO>
117 leRebound.svk = svk_.template rebind<STO>();
Contains the Material interface class and related template functions for material properties.
Implementation of the Saint Venant-Kirchhoff material model.
Definition: simpleassemblers.hh:22
Interface classf or materials.
Definition: interface.hh:77
Implementation of the Linear Elasticity material model.The energy is computed as.
Definition: linearelasticity.hh:36
static constexpr bool stressAcceptsVoigt
Definition: linearelasticity.hh:60
static constexpr bool energyAcceptsVoigt
Definition: linearelasticity.hh:58
static constexpr bool stressToVoigt
Definition: linearelasticity.hh:59
static constexpr int worldDimension
Definition: linearelasticity.hh:51
static constexpr auto stressTag
Definition: linearelasticity.hh:56
auto rebind() const
Rebind material to a different scalar type.
Definition: linearelasticity.hh:115
static constexpr auto strainTag
Definition: linearelasticity.hh:55
static constexpr auto tangentModuliTag
Definition: linearelasticity.hh:57
static constexpr bool moduliToVoigt
Definition: linearelasticity.hh:61
constexpr std::string nameImpl() const noexcept
Definition: linearelasticity.hh:37
ST ScalarType
Definition: linearelasticity.hh:39
static constexpr double derivativeFactor
Definition: linearelasticity.hh:68
auto stressesImpl(const Eigen::MatrixBase< Derived > &E) const
Calculates the stresses in the material.
Definition: linearelasticity.hh:91
StrainMatrix StressMatrix
Definition: linearelasticity.hh:53
Eigen::Matrix< ScalarType, worldDimension, worldDimension > StrainMatrix
Definition: linearelasticity.hh:52
LinearElasticityT(const LamesFirstParameterAndShearModulus &mpt)
Constructor for LinearElasticityT.
Definition: linearelasticity.hh:47
ScalarType field_type
Definition: linearelasticity.hh:50
auto tangentModuliImpl(const Eigen::MatrixBase< Derived > &E) const
Calculates the tangent moduli in the material.
Definition: linearelasticity.hh:104
static constexpr bool moduliAcceptsVoigt
Definition: linearelasticity.hh:62
ScalarType storedEnergyImpl(const Eigen::MatrixBase< Derived > &E) const
Calculates the stored energy in the material.
Definition: linearelasticity.hh:78
static constexpr bool moduliAcceptsVoigt
Definition: svk.hh:59
static constexpr bool stressAcceptsVoigt
Definition: svk.hh:57
static constexpr bool moduliToVoigt
Definition: svk.hh:58
static constexpr bool stressToVoigt
Definition: svk.hh:56
static constexpr bool energyAcceptsVoigt
Definition: svk.hh:55
Definition: physicshelper.hh:88