Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
ldz_electric_field.hpp File Reference
#include "fs_common.h"
Include dependency graph for ldz_electric_field.hpp:
This graph shows which files directly or indirectly include this file:

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.

Function Documentation

◆ calculateUpwindedElectricFieldSimple()

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.

Parameters
perbfsGrid holding the perturbed B quantities at runge-kutta t=0
perbdt2fsGrid holding the perturbed B quantities at runge-kutta t=0.5
efsGrid holding the Electric field quantities at runge-kutta t=0
edt2fsGrid holding the Electric field quantities at runge-kutta t=0.5
ehallfsGrid holding the Hall contributions to the electric field
egradpefsGrid holding the electron pressure gradient E field
egradpedt2fsGrid holding the electron pressure gradient E field
momentsfsGrid holding the moment quantities at runge-kutta t=0
momentsdt2fsGrid holding the moment quantities at runge-kutta t=0.5
dperbfsGrid holding the derivatives of perturbed B
dmomentsfsGrid holding the derivatives of moments
dmomentsdt2fsGrid holding the derivatives of moments at runge-kutta t=0.5
bgbfsGrid holding the background B quantities
technicalfsGrid holding technical information (such as boundary types)
fsgridfsgrids container
sysBoundariesSystem boundary conditions existing
RKCaseElement in the enum defining the Runge-Kutta method steps
communicateEGradPeOrMomentsDerivativesBoolean flag whether grad(Pe) electric field or moments need a ghost update
See also
calculateElectricField calculateEdgeElectricFieldX calculateEdgeElectricFieldY calculateEdgeElectricFieldZ

Definition at line 1177 of file ldz_electric_field.cpp.

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