SpECTRE  v2024.04.12
ForceFree::ComputeDriftTildeJ Struct Reference

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

#include <ElectricCurrentDensity.hpp>

Public Types

using argument_tags = tmpl::list< Tags::TildeQ, Tags::TildeE, Tags::TildeB, Tags::ParallelConductivity, gr::Tags::Lapse< DataVector >, gr::Tags::SqrtDetSpatialMetric< DataVector >, gr::Tags::SpatialMetric< DataVector, 3 > >
 
using return_type = tnsr::I< DataVector, 3 >
 

Static Public Member Functions

static void apply (gsl::not_null< tnsr::I< DataVector, 3, Frame::Inertial > * > drift_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 non-stiff part \(\tilde{J}^i_\mathrm{drift}\) of the generalized electric current density \(\tilde{J}^i\).

\begin{align} \tilde{J}^i_\mathrm{drift} = \alpha \sqrt{\gamma} q \frac{\epsilon^{ijk}_{(3)}E_jB_k}{B_lB^l} \end{align}

where \(\alpha\) is lapse, \(\gamma\) is the determinant of the spatial metric, \(q\) is charge density, \(\epsilon^{ijk}_{(3)}\) is the spatial Levi-Civita tensor, \(E^i\) is the electric field, and \(B^i\) is the magnetic field.


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