SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
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

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 [186]), 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>
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)>(
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 quadrupole_moment(const gsl::not_null< tnsr::ii< DataType, Dim, Fr > * > result, const Scalar< DataType > &tilde_d, const tnsr::I< DataType, Dim, Fr > &coordinates)
Function computing the quadrupole moment.

The documentation for this struct was generated from the following file:
  • src/Evolution/Systems/GrMhd/ValenciaDivClean/QuadrupoleFormula.hpp