SpECTRE  v2024.05.11
hydro::Tags::LowerSpatialFourVelocityCompute Struct Reference

Computes \(u_i=W \gamma_{ij} v^j\), where \(W\) is the Lorentz factor, \(\gamma_{ij}\) is the spatial metric, and \(v^j\) is the spatial velocity. More...

#include <LowerSpatialFourVelocity.hpp>

Public Types

using base = hydro::Tags::LowerSpatialFourVelocity< DataVector, 3, Frame::Inertial >
 
using argument_tags = tmpl::list< hydro::Tags::SpatialVelocity< DataVector, 3, Frame::Inertial >, gr::Tags::SpatialMetric< DataVector, 3 >, hydro::Tags::LorentzFactor< DataVector > >
 
- Public Types inherited from hydro::Tags::LowerSpatialFourVelocity< DataVector, 3, Frame::Inertial >
using type = tnsr::i< DataVector, Dim, Frame::Inertial >
 

Static Public Member Functions

static void function (const gsl::not_null< tnsr::i< DataVector, 3 > * > result, const tnsr::I< DataVector, 3 > &spatial_velocity, const tnsr::ii< DataVector, 3 > &spatial_metric, const Scalar< DataVector > &lorentz_factor)
 

Detailed Description

Computes \(u_i=W \gamma_{ij} v^j\), where \(W\) is the Lorentz factor, \(\gamma_{ij}\) is the spatial metric, and \(v^j\) is the spatial velocity.


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