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