SpECTRE  v2024.04.12
hydro::Tags::MassFluxCompute< DataType, Dim, Frame > Struct Template Reference

Compute item for mass flux vector \(J^i\). More...

#include <MassFlux.hpp>

Public Types

using argument_tags = tmpl::list< hydro::Tags::RestMassDensity< DataType >, hydro::Tags::SpatialVelocity< DataType, Dim, Frame >, hydro::Tags::LorentzFactor< DataType >, ::gr::Tags::Lapse< DataType >, ::gr::Tags::Shift< DataType, Dim, Frame >, ::gr::Tags::SqrtDetSpatialMetric< DataType > >
 
using return_type = tnsr::I< DataType, Dim, Frame >
 
using base = MassFlux< DataType, Dim, Frame >
 
- Public Types inherited from hydro::Tags::MassFlux< DataType, Dim, Frame >
using type = tnsr::I< DataType, Dim, Frame >
 

Static Public Attributes

static constexpr auto function
 

Additional Inherited Members

- Static Public Member Functions inherited from hydro::Tags::MassFlux< DataType, Dim, Frame >
static std::string name ()
 

Detailed Description

template<typename DataType, size_t Dim, typename Frame>
struct hydro::Tags::MassFluxCompute< DataType, Dim, Frame >

Compute item for mass flux vector \(J^i\).

Can be retrieved using hydro::Tags::MassFlux

Member Data Documentation

◆ function

template<typename DataType , size_t Dim, typename Frame >
constexpr auto hydro::Tags::MassFluxCompute< DataType, Dim, Frame >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
const Scalar<DataType>&)>(&mass_flux<DataType, Dim, Frame>)
Definition: ContractFirstNIndices.hpp:16
Require a pointer to not be a nullptr
Definition: Gsl.hpp:183

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