SpECTRE
v2025.03.17
|
Things related to the initial (seed) magnetic field that can be superposed on GRMHD initial data. More...
Classes | |
class | InitialMagneticField |
The abstract base class for initial magnetic field configurations. More... | |
class | Poloidal |
Poloidal magnetic field for GRMHD initial data. More... | |
class | Toroidal |
Toroidal magnetic field for GRMHD initial data. More... | |
Typedefs | |
using | initial_magnetic_fields = implementation defined |
Typelist of available InitialMagneticFields. | |
Functions | |
bool | operator!= (const Toroidal &lhs, const Toroidal &rhs) |
Things related to the initial (seed) magnetic field that can be superposed on GRMHD initial data.
In many cases we assign magnetic fields in terms of the vector potential, which can be computed as
where
For example, in the Cartesian coordinates,
variables
function. This is so that multiple magnetic fields can be superposed. Each magnetic field configuration does a +=
to make this possible.