SpECTRE  v2024.04.12
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 >, Elasticity::Tags::Stress< 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 (*)(
const tnsr::II<DataVector, Dim>&)>(&potential_energy_density<Dim>)
Definition: ContractFirstNIndices.hpp:16
Require a pointer to not be a nullptr
Definition: Gsl.hpp:183

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