Public Types | Static Public Attributes | List of all members
ScalarWave::Tags::EnergyDensityCompute< SpatialDim > Struct Template Reference

Computes the energy density using ScalarWave::energy_density() More...

#include <EnergyDensity.hpp>

Public Types

using argument_tags = tmpl::list< ScalarWave::Pi, ScalarWave::Phi< SpatialDim > >
using return_type = Scalar< DataVector >
using base = EnergyDensity< SpatialDim >
- Public Types inherited from ScalarWave::Tags::EnergyDensity< SpatialDim >
using type = Scalar< DataVector >

Static Public Attributes

static constexpr auto function

Detailed Description

template<size_t SpatialDim>
struct ScalarWave::Tags::EnergyDensityCompute< SpatialDim >

Computes the energy density using ScalarWave::energy_density()

Member Data Documentation

◆ function

template<size_t SpatialDim>
constexpr auto ScalarWave::Tags::EnergyDensityCompute< SpatialDim >::function
Initial value:
= static_cast<void (*)(
const tnsr::i<DataVector, SpatialDim, Frame::Inertial>&) noexcept>(
Require a pointer to not be a nullptr
Definition: Gsl.hpp:183
Tensor< T, Symmetry<>, index_list<> > Scalar
Scalar type.
Definition: TypeAliases.hpp:21

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