SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
NewtonianEuler::Tags::RamPressureCompute< DataType, Dim, Fr > Struct Template Reference

Compute item for the ram pressure, \(\rho v^i v^j\). More...

#include <RamPressure.hpp>

Public Types

using base = RamPressure<DataType, Dim, Fr>
using argument_tags
using return_type = tnsr::II<DataType, Dim, Fr>
Public Types inherited from NewtonianEuler::Tags::RamPressure< DataType, Dim, Frame::Inertial >
using type

Static Public Attributes

static constexpr auto function

Additional Inherited Members

Static Public Member Functions inherited from NewtonianEuler::Tags::RamPressure< DataType, Dim, Frame::Inertial >
static std::string name ()

Detailed Description

template<typename DataType, size_t Dim, typename Fr = Frame::Inertial>
struct NewtonianEuler::Tags::RamPressureCompute< DataType, Dim, Fr >

Compute item for the ram pressure, \(\rho v^i v^j\).

See also
NewtonianEuler::ram_pressure

Can be retrieved using NewtonianEuler::Tags::RamPressure

Member Typedef Documentation

◆ argument_tags

template<typename DataType, size_t Dim, typename Fr = Frame::Inertial>
using NewtonianEuler::Tags::RamPressureCompute< DataType, Dim, Fr >::argument_tags
Initial value:
tmpl::list<hydro::Tags::RestMassDensity<DataType>,
The spatial velocity of the fluid, where . Here is the spatial part of the 4-velocity of the fluid,...
Definition Tags.hpp:257

Member Data Documentation

◆ function

template<typename DataType, size_t Dim, typename Fr = Frame::Inertial>
auto NewtonianEuler::Tags::RamPressureCompute< DataType, Dim, Fr >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
const Scalar<DataType>&, const tnsr::I<DataType, Dim, Fr>&)>(
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 ram_pressure(gsl::not_null< tnsr::II< DataType, Dim, Fr > * > result, const Scalar< DataType > &mass_density, const tnsr::I< DataType, Dim, Fr > &velocity)

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