|
Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
|
#include "ldz_magnetic_field.hpp"
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. | |
| 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 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.
| perb | fsGrid holding the perturbed B quantities at runge-kutta t=0 |
| perbdt2 | fsGrid holding the perturbed B quantities at runge-kutta t=0.5 |
| bgb | fsGrid holding the background B quantities |
| e | fsGrid holding the Electric field quantities at runge-kutta t=0 |
| edt2 | fsGrid holding the Electric field quantities at runge-kutta t=0.5 |
| technical | fsGrid holding technical information (such as boundary types) |
| fsgrid | container of all fsgrids |
| sysBoundaries | System boundary conditions existing |
| dt | Length of the time step |
| RKCase | Element in the enum defining the Runge-Kutta method steps |
Definition at line 199 of file ldz_magnetic_field.cpp.


| 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.
| perb | fsGrid holding the perturbed B quantities at runge-kutta t=0 |
| perbdt2 | fsGrid holding the perturbed B quantities at runge-kutta t=0.5 |
| bgb | fsGrid holding the background field B quantities |
| technical | fsgrid holding the technical parameters |
| gridSpacing | cell size in x,y,z |
| globalCoordinates | cell global grid coordinate indices |
| stencil | fsgrid stencil for cell |
| sysBoundaries | System boundary conditions existing |
| RKCase | Element in the enum defining the Runge-Kutta method steps |
| component | component to compute |
Definition at line 164 of file ldz_magnetic_field.cpp.

