Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
ldz_magnetic_field.cpp File Reference
Include dependency graph for ldz_magnetic_field.cpp:

Go to the source code of this file.

Functions

void propagateMagneticField (fsgrids::perbspan perb, fsgrids::perbspan perbdt2, fsgrids::constefieldspan e, fsgrids::constefieldspan edt2, const fsgrid::FsStencil &stencil, Real dt, int32_t RKCase, bool doX, bool doY, bool doZ, const std::array< Real, 3 > &gridSpacing)
void propagateSysBoundaryMagneticField (fsgrids::perbspan perb, fsgrids::perbspan perbdt2, fsgrids::constbgbspan bgb, fsgrids::consttechnicalspan technical, const std::array< Real, 3 > &gridSpacing, const std::array< fsgrid::FsSize_t, 3 > &globalCoordinates, const fsgrid::FsStencil &stencil, SysBoundary &sysBoundaries, int32_t RKCase, uint32_t component)
 Low-level magnetic field propagation function.
void propagateMagneticFieldSimple (fsgrids::perbspan perb, fsgrids::perbspan perbdt2, fsgrids::bgbspan bgb, fsgrids::efieldspan e, fsgrids::efieldspan edt2, fsgrids::technicalspan technical, FieldSolverGrid &fsgrid, SysBoundary &sysBoundaries, creal &dt, cint &RKCase)
 High-level magnetic field propagation function.

Function Documentation

◆ propagateMagneticField()

void propagateMagneticField ( fsgrids::perbspan perb,
fsgrids::perbspan perbdt2,
fsgrids::constefieldspan e,
fsgrids::constefieldspan edt2,
const fsgrid::FsStencil & stencil,
Real dt,
int32_t RKCase,
bool doX,
bool doY,
bool doZ,
const std::array< Real, 3 > & gridSpacing )

Definition at line 29 of file ldz_magnetic_field.cpp.

Here is the caller graph for this function:

◆ propagateMagneticFieldSimple()

void propagateMagneticFieldSimple ( fsgrids::perbspan perb,
fsgrids::perbspan perbdt2,
fsgrids::bgbspan bgb,
fsgrids::efieldspan e,
fsgrids::efieldspan edt2,
fsgrids::technicalspan technical,
FieldSolverGrid & fsgrid,
SysBoundary & sysBoundaries,
creal & dt,
cint & RKCase )

High-level magnetic field propagation function.

Propagates the magnetic field and applies the field boundary conditions defined in project.h where needed.

Parameters
perbfsGrid holding the perturbed B quantities at runge-kutta t=0
perbdt2fsGrid holding the perturbed B quantities at runge-kutta t=0.5
bgbfsGrid holding the background B quantities
efsGrid holding the Electric field quantities at runge-kutta t=0
edt2fsGrid holding the Electric field quantities at runge-kutta t=0.5
technicalfsGrid holding technical information (such as boundary types)
fsgridcontainer of all fsgrids
sysBoundariesSystem boundary conditions existing
dtLength of the time step
RKCaseElement in the enum defining the Runge-Kutta method steps
See also
propagateMagneticField propagateSysBoundaryMagneticField

Definition at line 199 of file ldz_magnetic_field.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ propagateSysBoundaryMagneticField()

void propagateSysBoundaryMagneticField ( fsgrids::perbspan perb,
fsgrids::perbspan perbdt2,
fsgrids::constbgbspan bgb,
fsgrids::consttechnicalspan technical,
const std::array< Real, 3 > & gridSpacing,
const std::array< fsgrid::FsSize_t, 3 > & globalCoordinates,
const fsgrid::FsStencil & stencil,
SysBoundary & sysBoundaries,
int32_t RKCase,
uint32_t component )

Low-level magnetic field propagation function.

Propagates the magnetic field according to the system boundary conditions.

Parameters
perbfsGrid holding the perturbed B quantities at runge-kutta t=0
perbdt2fsGrid holding the perturbed B quantities at runge-kutta t=0.5
bgbfsGrid holding the background field B quantities
technicalfsgrid holding the technical parameters
gridSpacingcell size in x,y,z
globalCoordinatescell global grid coordinate indices
stencilfsgrid stencil for cell
sysBoundariesSystem boundary conditions existing
RKCaseElement in the enum defining the Runge-Kutta method steps
componentcomponent to compute
See also
propagateMagneticFieldSimple propagateMagneticField

Definition at line 164 of file ldz_magnetic_field.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: