SpECTRE  v2026.06.09.01
Loading...
Searching...
No Matches
grmhd::ValenciaDivClean::Tags::ComovingMagneticFieldMagnitudeCompute Struct Reference

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

#include <ComovingMagneticFieldMagnitude.hpp>

Public Types

using argument_tags
using return_type = Scalar<DataVector>
using base = hydro::Tags::ComovingMagneticFieldMagnitude<DataVector>
Public Types inherited from hydro::Tags::ComovingMagneticFieldMagnitude< DataVector >
using type

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.

Member Typedef Documentation

◆ argument_tags

using grmhd::ValenciaDivClean::Tags::ComovingMagneticFieldMagnitudeCompute::argument_tags
Initial value:
tmpl::list<hydro::Tags::MagneticField<DataVector, 3>,
Definition Tags.hpp:25
The Lorentz factor , where is the spatial velocity of the fluid.
Definition Tags.hpp:181
The spatial velocity of the fluid, where . Here is the spatial part of the 4-velocity of the fluid,...
Definition Tags.hpp:257

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