|
Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
|
Londrillo – Del Zanna upwind constrained transport field solver. More...
#include "ldz_electric_field.hpp"#include "ldz_magnetic_field.hpp"#include "ldz_hall.hpp"#include "ldz_gradpe.hpp"#include "ldz_volume.hpp"#include "fs_common.h"#include "derivatives.hpp"#include "fs_limiters.h"#include "mpiconversion.h"#include "../fieldtracing/fieldtracing.h"#include "../logger.h"
Go to the source code of this file.
Functions | |
| bool | propagateFields (fsgrids::perbspan perb, fsgrids::perbspan perbdt2, fsgrids::efieldspan e, fsgrids::efieldspan edt2, fsgrids::ehallspan ehall, fsgrids::egradpespan egradpe, fsgrids::egradpespan egradpedt2, fsgrids::momentsspan moments, fsgrids::momentsspan momentsdt2, fsgrids::dperbspan dperb, fsgrids::dmomentsspan dmoments, fsgrids::dmomentsspan dmomentsdt2, fsgrids::bgbspan bgb, fsgrids::volspan vol, fsgrids::technicalspan technical, FieldSolverGrid &fsgrid, SysBoundary &sysBoundaries, creal &dt, cuint subcycles) |
| Top-level field propagation function. | |
Variables | |
| Logger | logFile |
Londrillo – Del Zanna upwind constrained transport field solver.
On the divergence-free condition in Godunov-type schemes for ideal magnetohydrodynamics: the upwind constrained transport method, P. Londrillo and L. Del Zanna, J. Comp. Phys., 195, 2004. http://dx.doi.org/10.1016/j.jcp.2003.09.016
Reconstructions taken from: Efficient, high accuracy ADER-WENO schemes for hydrodynamics and divergence-free magnetohydrodynamics, D. S. Balsara, T. Rumpf, M. Dumbser, C.-D. Munz, J. Comp. Phys, 228, 2480-2516, 2009. http://dx.doi.org/10.1016/j.jcp.2008.12.003 and Divergence-free reconstruction of magnetic fields and WENO schemes for magnetohydrodynamics, D. S. Balsara, J. Comp. Phys., 228, 5040-5056, 2009. http://dx.doi.org/10.1016/j.jcp.2009.03.038
***** NOTATION USED FOR VARIABLES FOLLOWS THE ONES USED *****
***** IN THE ABOVEMENTIONED PUBLICATION(S) *****
Definition in file ldz_main.cpp.
| bool propagateFields | ( | fsgrids::perbspan | perb, |
| fsgrids::perbspan | perbdt2, | ||
| fsgrids::efieldspan | e, | ||
| fsgrids::efieldspan | edt2, | ||
| fsgrids::ehallspan | ehall, | ||
| fsgrids::egradpespan | egradpe, | ||
| fsgrids::egradpespan | egradpedt2, | ||
| fsgrids::momentsspan | moments, | ||
| fsgrids::momentsspan | momentsdt2, | ||
| fsgrids::dperbspan | dperb, | ||
| fsgrids::dmomentsspan | dmoments, | ||
| fsgrids::dmomentsspan | dmomentsdt2, | ||
| fsgrids::bgbspan | bgb, | ||
| fsgrids::volspan | vol, | ||
| fsgrids::technicalspan | technical, | ||
| FieldSolverGrid & | fsgrid, | ||
| SysBoundary & | sysBoundaries, | ||
| creal & | dt, | ||
| cuint | subcycles ) |
Top-level field propagation function.
Propagates the magnetic field, computes the derivatives and the upwinded electric field, then computes the volume-averaged field values. Takes care of the Runge-Kutta iteration at the top level, the functions called get as an argument the element from the enum defining the current stage and handle their job correspondingly.
| perb | fsgrid holding perturbed magnetic field |
| perbdt2 | fsgrid holding perturbed magnetic field at Runge-Kutta half-step |
| e | fsgrid holding electric field |
| edt2 | fsgrid holding electric field |
| ehall | fsgrid holding Hall term electric field |
| egradpe | fsgrid holding gradient of electron pressure electric field |
| egradpedt2 | fsgrid holding gradient of electron pressure electric field at Runge-Kutta half-step |
| moments | fsgrid holding moments |
| momentsdt2 | fsgrid holding moments at Runge-Kutta half-step |
| dperb | fsgrid holding perturbed magnetic field derivatives |
| dmoments | fsgrid holding moments derivatives |
| dmomentsdt2 | fsgrid holding moments derivatives at Runge-Kutta half-step |
| bgb | fsgrid holding background magnetic field |
| vol | fsgrid holding volume magnetic field |
| technical | fsgrid holding technical parameters |
| fsgrid | fsgrids container |
| sysBoundaries | Container of existing system boundaries |
| dt | Length of the time step |
| subcycles | Number of subcycles to compute. |
Definition at line 91 of file ldz_main.cpp.

