Public Types | Static Public Member Functions | List of all members
GeneralizedHarmonic::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 = tmpl::list< GaugeConstraint< SpatialDim, Frame >, FConstraint< SpatialDim, Frame >, TwoIndexConstraint< SpatialDim, Frame >, ThreeIndexConstraint< SpatialDim, Frame >, FourIndexConstraint< SpatialDim, Frame >, gr::Tags::InverseSpatialMetric< SpatialDim, Frame, DataVector >, gr::Tags::DetSpatialMetric< DataVector > >
 
using return_type = Scalar< DataVector >
 
using base = ConstraintEnergy< SpatialDim, Frame >
 
- Public Types inherited from GeneralizedHarmonic::Tags::ConstraintEnergy< SpatialDim, Frame >
using type = Scalar< DataVector >
 

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) noexcept
 

Detailed Description

template<size_t SpatialDim, typename Frame>
struct GeneralizedHarmonic::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 GeneralizedHarmonic::Tags::ConstraintEnergy.


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