SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
hydro::Tags::TransportVelocityCompute< DataType, Dim, Fr > Struct Template Reference

Compute tag for the transport velocity. More...

#include <TransportVelocity.hpp>

Public Types

using argument_tags = implementation defined
 
using base = hydro::Tags::TransportVelocity< DataType, Dim, Fr >
 
using return_type = typename base::type
 
- Public Types inherited from hydro::Tags::TransportVelocity< DataType, Dim, Frame::Inertial >
using type = tnsr::I< DataType, Dim, Frame::Inertial >
 

Static Public Attributes

static constexpr auto function
 

Detailed Description

template<typename DataType, size_t Dim, typename Fr = Frame::Inertial>
struct hydro::Tags::TransportVelocityCompute< DataType, Dim, Fr >

Compute tag for the transport velocity.

Compute item for the transport velocity, using vti=αviβi, with vi being the spatial velocity, α the lapse, and βi the shift.

Member Data Documentation

◆ function

template<typename DataType , size_t Dim, typename Fr = Frame::Inertial>
constexpr auto hydro::Tags::TransportVelocityCompute< DataType, Dim, Fr >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
const tnsr::I<DataType, Dim, Fr>& spatial_velocity,
&hydro::transport_velocity<DataType, Dim, Fr>)
Definition: ContractFirstNIndices.hpp:16
Require a pointer to not be a nullptr
Definition: Gsl.hpp:198
tnsr::I< DataType, SpatialDim, Frame > shift(const tnsr::aa< DataType, SpatialDim, Frame > &spacetime_metric, const tnsr::II< DataType, SpatialDim, Frame > &inverse_spatial_metric)
Compute shift from spacetime metric and inverse spatial metric.
Scalar< DataType > lapse(const tnsr::I< DataType, SpatialDim, Frame > &shift, const tnsr::aa< DataType, SpatialDim, Frame > &spacetime_metric)
Compute lapse from shift and spacetime metric.

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