SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
gh::Tags::ConstraintEnergyCompute< SpatialDim, Frame > Struct Template Reference

Compute item to get combined energy in all constraints for the generalized harmonic evolution system. More...

#include <Constraints.hpp>

Public Types

using argument_tags
using return_type = Scalar<DataVector>
using base = ConstraintEnergy<DataVector, SpatialDim, Frame>
Public Types inherited from gh::Tags::ConstraintEnergy< DataVector, SpatialDim, Frame >
using type

Static Public Member Functions

static constexpr auto function (const gsl::not_null< Scalar< DataVector > * > energy, const tnsr::a< DataVector, SpatialDim, Frame > &gauge_constraint, const tnsr::a< DataVector, SpatialDim, Frame > &f_constraint, const tnsr::ia< DataVector, SpatialDim, Frame > &two_index_constraint, const tnsr::iaa< DataVector, SpatialDim, Frame > &three_index_constraint, const tnsr::iaa< DataVector, SpatialDim, Frame > &four_index_constraint, const tnsr::II< DataVector, SpatialDim, Frame > &inverse_spatial_metric, const Scalar< DataVector > &spatial_metric_determinant)

Detailed Description

template<size_t SpatialDim, typename Frame>
struct gh::Tags::ConstraintEnergyCompute< SpatialDim, Frame >

Compute item to get combined energy in all constraints for the generalized harmonic evolution system.

Details

See constraint_energy(). Can be retrieved using gh::Tags::ConstraintEnergy.

Member Typedef Documentation

◆ argument_tags

template<size_t SpatialDim, typename Frame>
using gh::Tags::ConstraintEnergyCompute< SpatialDim, Frame >::argument_tags
Initial value:
tmpl::list<GaugeConstraint<DataVector, SpatialDim, Frame>,
Tags corresponding to various constraints of the generalized harmonic system, and their diagnosticall...
Definition Tags.hpp:180
Tags corresponding to various constraints of the generalized harmonic system, and their diagnosticall...
Definition Tags.hpp:195
Tags corresponding to various constraints of the generalized harmonic system, and their diagnosticall...
Definition Tags.hpp:190
Tags corresponding to various constraints of the generalized harmonic system, and their diagnosticall...
Definition Tags.hpp:185
Determinant of the spatial metric.
Definition Tags.hpp:39
Inverse of the spatial metric.
Definition Tags.hpp:32

The documentation for this struct was generated from the following file:
  • src/Evolution/Systems/GeneralizedHarmonic/Constraints.hpp