|
SpECTRE
v2026.06.09.01
|
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) |
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}
| using grmhd::ValenciaDivClean::Tags::ComovingMagneticFieldMagnitudeCompute::argument_tags |