SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
ForceFree::ComputeDriftTildeJ Struct Reference

Computes the non-stiff part J~drifti of the generalized electric current density J~i. More...

#include <ElectricCurrentDensity.hpp>

Public Types

using argument_tags = implementation defined
 
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 J~drifti of the generalized electric current density J~i.

(1)J~drifti=αγqϵ(3)ijkEjBkBlBl

where α is lapse, γ is the determinant of the spatial metric, q is charge density, ϵ(3)ijk is the spatial Levi-Civita tensor, Ei is the electric field, and Bi is the magnetic field.


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