SpECTRE  v2021.11.01
Elasticity::Tags::PotentialEnergyDensityCompute< Dim > Struct Template Reference

Computes the energy density stored in the deformation of the elastic material. More...

#include <PotentialEnergy.hpp>

Public Types

using base = Elasticity::Tags::PotentialEnergyDensity< Dim >
 
using return_type = Scalar< DataVector >
 
using argument_tags = tmpl::list< Elasticity::Tags::Strain< Dim >, domain::Tags::Coordinates< Dim, Frame::Inertial >, Elasticity::Tags::ConstitutiveRelation< Dim > >
 
- Public Types inherited from Elasticity::Tags::PotentialEnergyDensity< Dim >
using type = Scalar< DataVector >
 

Static Public Attributes

static constexpr auto function
 

Detailed Description

template<size_t Dim>
struct Elasticity::Tags::PotentialEnergyDensityCompute< Dim >

Computes the energy density stored in the deformation of the elastic material.

See also
Elasticity::Tags::PotentialEnergyDensity

Member Data Documentation

◆ function

template<size_t Dim>
constexpr auto Elasticity::Tags::PotentialEnergyDensityCompute< Dim >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
gsl::not_null<Scalar<DataVector>*>, const tnsr::ii<DataVector, Dim>&,
const tnsr::I<DataVector, Dim>&,
const ConstitutiveRelations::ConstitutiveRelation<Dim>&)>(
&potential_energy_density<Dim>)
Require a pointer to not be a nullptr
Definition: Gsl.hpp:183

The documentation for this struct was generated from the following file: