Computes the shear (deviatoric) part of the potential energy density, \(U_\mathrm{shear} = -\frac{1}{2} s^{ij} e_{ij}\), from the deviators of the strain and the stress. The traces run over the Dim dimensions of the domain, so this is the physical deviatoric part only in 3D.
More...
#include <PotentialEnergy.hpp>
template<size_t Dim>
struct Elasticity::Tags::ShearPotentialEnergyDensityCompute< Dim >
Computes the shear (deviatoric) part of the potential energy density, \(U_\mathrm{shear} = -\frac{1}{2} s^{ij} e_{ij}\), from the deviators of the strain and the stress. The traces run over the Dim dimensions of the domain, so this is the physical deviatoric part only in 3D.
- See also
- Elasticity::Tags::ShearPotentialEnergyDensity
◆ argument_tags
◆ function
Initial value:= static_cast<void (*)(
Require a pointer to not be a nullptr
Definition Gsl.hpp:225
void shear_potential_energy_density(gsl::not_null< Scalar< DataVector > * > result, const tnsr::ii< DataVector, Dim > &strain, const tnsr::II< DataVector, Dim > &stress)
The shear (deviatoric) part of the potential energy density , computed directly from the deviatoric s...
The documentation for this struct was generated from the following file:
- src/PointwiseFunctions/Elasticity/PotentialEnergy.hpp