SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
ForceFree::ComputeParallelTildeJ Struct Reference

Computes the stiff part \(\tilde{J}^i_\mathrm{parallel}\) of the generalized electric current density \(\tilde{J}^i\). More...

#include <ElectricCurrentDensity.hpp>

Public Types

using argument_tags
using return_type = tnsr::I<DataVector, 3>

Static Public Member Functions

static void apply (gsl::not_null< tnsr::I< DataVector, 3, Frame::Inertial > * > parallel_tilde_j, const Scalar< DataVector > &tilde_q, const tnsr::I< DataVector, 3, Frame::Inertial > &tilde_e, const tnsr::I< DataVector, 3, Frame::Inertial > &tilde_b, double parallel_conductivity, const Scalar< DataVector > &lapse, const Scalar< DataVector > &sqrt_det_spatial_metric, const tnsr::ii< DataVector, 3, Frame::Inertial > &spatial_metric)

Detailed Description

Computes the stiff part \(\tilde{J}^i_\mathrm{parallel}\) of the generalized electric current density \(\tilde{J}^i\).

\begin{align*} \tilde{J}^i_\mathrm{parallel} & = \alpha \sqrt{\gamma} \eta \left[ \frac{(E_lB^l)B^i}{B^2} + \frac{\mathcal{R}(E^2-B^2)}{B^2} E^i \right] \end{align*}

where \(\alpha\) is lapse, \(\gamma\) is the determinant of the spatial metric, \(E^i\) is the electric field, \(B^i\) is the magnetic field, \(\eta\) is the parallel conductivity, and \(\mathcal{R}(x) = \max (x,0)\) is the rectifier function.

Member Typedef Documentation

◆ argument_tags

using ForceFree::ComputeParallelTildeJ::argument_tags
Initial value:
The damping parameter in the electric current density to impose force-free conditions....
Definition Tags.hpp:246
The densitized magnetic field .
Definition Tags.hpp:77
The densitized electric field .
Definition Tags.hpp:70
The densitized electric charge density .
Definition Tags.hpp:101
Definition Tags.hpp:65
Definition Tags.hpp:25
Definition Tags.hpp:43

The documentation for this struct was generated from the following file:
  • src/Evolution/Systems/ForceFree/ElectricCurrentDensity.hpp