SpECTRE  v2024.04.12
grmhd::ValenciaDivClean::Tags::QuadrupoleMomentCompute< DataType, Dim, OutputCoordsTag, Fr > Struct Template Reference

Compute tag for the quadrupole moment. More...

#include <QuadrupoleFormula.hpp>

Public Types

using argument_tags = tmpl::list< TildeD, OutputCoordsTag >
 
using base = hydro::Tags::QuadrupoleMoment< DataType, Dim, Fr >
 
using return_type = typename base::type
 
- Public Types inherited from hydro::Tags::QuadrupoleMoment< DataType, Dim, Frame::Inertial >
using type = tnsr::ii< DataType, Dim, Frame::Inertial >
 

Static Public Attributes

static constexpr auto function
 

Detailed Description

template<typename DataType, size_t Dim, typename OutputCoordsTag, typename Fr = Frame::Inertial>
struct grmhd::ValenciaDivClean::Tags::QuadrupoleMomentCompute< DataType, Dim, OutputCoordsTag, Fr >

Compute tag for the quadrupole moment.

Compute item for the quadrupole moment, using \(\tilde{D} x^i x^j\) (equation 21 of [163]), with \(\tilde{D}=\sqrt{\gamma}\rho W\), \(W\) being the Lorentz factor, \(\gamma\) being the determinant of the spatial metric, and \(x\) the coordinates in Frame Fr.

Member Data Documentation

◆ function

template<typename DataType , size_t Dim, typename OutputCoordsTag , typename Fr = Frame::Inertial>
constexpr auto grmhd::ValenciaDivClean::Tags::QuadrupoleMomentCompute< DataType, Dim, OutputCoordsTag, Fr >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
const Scalar<DataType>& tilde_d,
const tnsr::I<DataType, Dim, Fr>& coordinates)>(
&hydro::quadrupole_moment<DataType, Dim, Fr>)
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: