|
Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
|
#include "fs_common.h"

Go to the source code of this file.
Functions | |
| void | calculateUpwindedElectricFieldSimple (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::technicalspan technical, FieldSolverGrid &fsgrid, SysBoundary &sysBoundaries, int32_t RKCase, const bool communicateEGradPeOrMomentsDerivatives) |
| High-level electric field computation function. | |
| void calculateUpwindedElectricFieldSimple | ( | 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::technicalspan | technical, | ||
| FieldSolverGrid & | fsgrid, | ||
| SysBoundary & | sysBoundaries, | ||
| int32_t | RKCase, | ||
| const bool | communicateEGradPeOrMomentsDerivatives ) |
High-level electric field computation function.
Transfers the derivatives, calculates the edge electric fields and transfers the new electric fields.
| 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 |
| 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 |
| ehall | fsGrid holding the Hall contributions to the electric field |
| egradpe | fsGrid holding the electron pressure gradient E field |
| egradpedt2 | fsGrid holding the electron pressure gradient E field |
| moments | fsGrid holding the moment quantities at runge-kutta t=0 |
| momentsdt2 | fsGrid holding the moment quantities at runge-kutta t=0.5 |
| dperb | fsGrid holding the derivatives of perturbed B |
| dmoments | fsGrid holding the derivatives of moments |
| dmomentsdt2 | fsGrid holding the derivatives of moments at runge-kutta t=0.5 |
| bgb | fsGrid holding the background B quantities |
| technical | fsGrid holding technical information (such as boundary types) |
| fsgrid | fsgrids container |
| sysBoundaries | System boundary conditions existing |
| RKCase | Element in the enum defining the Runge-Kutta method steps |
| communicateEGradPeOrMomentsDerivatives | Boolean flag whether grad(Pe) electric field or moments need a ghost update |
Definition at line 1177 of file ldz_electric_field.cpp.

