SpECTRE  v2024.04.12
grmhd::ValenciaDivClean::Tags::ComovingMagneticFieldMagnitudeCompute Struct Reference

Compute the magnitude of the comoving magnetic field. More...

#include <ComovingMagneticFieldMagnitude.hpp>

Public Types

using argument_tags = tmpl::list< hydro::Tags::MagneticField< DataVector, 3 >, hydro::Tags::SpatialVelocity< DataVector, 3 >, hydro::Tags::LorentzFactor< DataVector >, gr::Tags::SpatialMetric< DataVector, 3 > >
 
using return_type = Scalar< DataVector >
 
using base = hydro::Tags::ComovingMagneticFieldMagnitude< DataVector >
 
- Public Types inherited from hydro::Tags::ComovingMagneticFieldMagnitude< DataVector >
using type = Scalar< DataVector >
 

Static Public Member Functions

static void function (gsl::not_null< Scalar< DataVector > * > comoving_magnetic_field_magnitude, const tnsr::I< DataVector, 3 > &magnetic_field, const tnsr::I< DataVector, 3 > &spatial_velocity, const Scalar< DataVector > &lorentz_factor, const tnsr::ii< DataVector, 3, Frame::Inertial > &spatial_metric)
 

Detailed Description

Compute the magnitude of the comoving magnetic field.

\begin{align} \sqrt{b^2} = \left( \frac{B^2}{W^2} + (B^iv_i)^2 \right)^{1/2} \end{align}

Note
This ComputeTag is for observation and monitoring purpose, not related to the actual time evolution.

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