SpECTRE  v2024.04.12
ForceFree Namespace Reference

Items related to evolving the GRFFE system with divergence cleaning. More...

Namespaces

namespace  AnalyticData
 Holds classes implementing analytic data for the GRFFE system.
 
namespace  BoundaryConditions
 Boundary conditions for the GRFFE system.
 
namespace  BoundaryCorrections
 Boundary corrections/numerical fluxes for the GRFFE sytem.
 
namespace  fd
 Finite difference functionality for ForceFree evolution system.
 
namespace  Imex
 Code related to IMEX time integration of ForceFree evolution system.
 
namespace  Solutions
 Holds classes implementing a solution to the GRFFE system.
 
namespace  subcell
 Code required by the DG-FD hybrid solver.
 
namespace  Tags
 Tags for the GRFFE system with divergence cleaning.
 

Classes

struct  ComputeDriftTildeJ
 Computes the non-stiff part \(\tilde{J}^i_\mathrm{drift}\) of the generalized electric current density \(\tilde{J}^i\). More...
 
struct  ComputeParallelTildeJ
 Computes the stiff part \(\tilde{J}^i_\mathrm{parallel}\) of the generalized electric current density \(\tilde{J}^i\). More...
 
struct  Fluxes
 Compute the fluxes of the GRFFE system with divergence cleaning. More...
 
struct  MaskNeutronStarInterior
 Assign the masking scalar variable (see Tags::NsInteriorMask) at the initialization phase in NS magnetosphere simulations. More...
 
struct  Sources
 Compute the source terms for the GRFFE system with divergence cleaning. More...
 
struct  System
 General relativistic force-free electrodynamics (GRFFE) system with divergence cleaning. More...
 
struct  TimeDerivativeTerms
 Compute the time derivative of the conserved variables for the GRFFE equations with divergence cleaning. More...
 

Functions

void em_field_from_evolved_fields (const gsl::not_null< tnsr::I< DataVector, 3 > * > vector, const tnsr::I< DataVector, 3 > &densitized_vector, const Scalar< DataVector > &sqrt_det_spatial_metric)
 Computes electric field \(E^i\) from TildeE or magnetic field \(B^i\) from TildeB.
 
void charge_density_from_tilde_q (const gsl::not_null< Scalar< DataVector > * > charge_density, const Scalar< DataVector > &tilde_q, const Scalar< DataVector > &sqrt_det_spatial_metric)
 Computes electric charge density \(q\) from TildeQ.
 
void electric_current_density_from_tilde_j (const gsl::not_null< tnsr::I< DataVector, 3 > * > electric_current_density, const tnsr::I< DataVector, 3 > &tilde_j, const Scalar< DataVector > &sqrt_det_spatial_metric, const Scalar< DataVector > &lapse)
 Computes electric current density \(J^i\) from TildeJ.
 

Detailed Description

Items related to evolving the GRFFE system with divergence cleaning.