SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
gh::Tags::VSpacetimeMetricSpeedCompute< Dim, Frame, SourceFrame > Struct Template Reference

Computes the spacetimemetric characteristic speed in SourceFrame. More...

#include <Characteristics.hpp>

Public Types

using argument_tags
using return_type = tnsr::I<DataVector, Dim, SourceFrame>
using base = VSpacetimeMetricSpeed<DataVector, Dim, SourceFrame>
Public Types inherited from gh::Tags::VSpacetimeMetricSpeed< DataVector, Dim, SourceFrame >
using type

Static Public Attributes

static constexpr auto function

Detailed Description

template<size_t Dim, typename Frame, typename SourceFrame>
struct gh::Tags::VSpacetimeMetricSpeedCompute< Dim, Frame, SourceFrame >

Computes the spacetimemetric characteristic speed in SourceFrame.

See also
vspacetimemetric_speed()

Member Typedef Documentation

◆ argument_tags

template<size_t Dim, typename Frame, typename SourceFrame>
using gh::Tags::VSpacetimeMetricSpeedCompute< Dim, Frame, SourceFrame >::argument_tags
Initial value:
The inverse Jacobian from the source frame to the target frame.
Definition Tags.hpp:118
The mesh velocity.
Definition TagsTimeDependent.hpp:168
Constraint dammping parameter for the generalized harmonic system (cf. lindblom2005qh).
Definition ConstraintDampingTags.hpp:62
Inverse of the spatial metric.
Definition Tags.hpp:32
Definition Tags.hpp:61

Member Data Documentation

◆ function

template<size_t Dim, typename Frame, typename SourceFrame>
auto gh::Tags::VSpacetimeMetricSpeedCompute< Dim, Frame, SourceFrame >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
const Scalar<DataVector>&, const tnsr::I<DataVector, Dim, Frame>&,
const InverseJacobian<DataVector, Dim, SourceFrame, Frame>&,
const tnsr::II<DataVector, Dim, Frame>&,
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
Tensor< T, Symmetry<>, index_list<> > Scalar
Scalar type.
Definition TypeAliases.hpp:21
void vspacetimemetric_speed(gsl::not_null< tnsr::I< DataVector, Dim, SourceFrame > * > char_speed, const Scalar< DataVector > &gamma_1, const tnsr::I< DataVector, Dim, Frame > &shift, const InverseJacobian< DataVector, Dim, SourceFrame, Frame > &inverse_jacobian, const tnsr::II< DataVector, Dim, Frame > &inverse_spatial_metric, const std::optional< tnsr::I< DataVector, Dim, Frame > > &mesh_velocity)
Computes the spacetime metric characteristic speed in SourceFrame.

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