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

Computes the stiff part J~paralleli 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 > * > 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 J~paralleli of the generalized electric current density J~i.

J~paralleli=αγη[(ElBl)BiB2+R(E2B2)B2Ei]

where α is lapse, γ is the determinant of the spatial metric, Ei is the electric field, Bi is the magnetic field, η is the parallel conductivity, and R(x)=max(x,0) is the rectifier function.


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