|
Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
|
#include <array>#include "../definitions.h"#include "../sysboundary/sysboundary.h"#include "fs_limiters.h"

Go to the source code of this file.
Functions | |
| void | calculateDerivativesSimple (fsgrids::perbspan perb, fsgrids::momentsspan moments, fsgrids::dperbspan dperb, fsgrids::dmomentsspan dmoments, fsgrids::technicalspan technical, FieldSolverGrid &fsgrid, const bool doMoments) |
| High-level derivative calculation wrapper function. | |
| void | calculateBVOLDerivativesSimple (fsgrids::volspan vol, fsgrids::technicalspan technical, FieldSolverGrid &fsgrid) |
| High-level derivative calculation wrapper function. | |
| void | calculateCurvatureSimple (fsgrids::volspan vol, fsgrids::constbgbspan bgb, fsgrids::technicalspan technical, FieldSolverGrid &fsgrid) |
| High-level curvature calculation wrapper function. | |
| void | calculateScaledDeltasSimple (dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid) |
| High-level scaled gradient calculation wrapper function. | |
| void calculateBVOLDerivativesSimple | ( | fsgrids::volspan | vol, |
| fsgrids::technicalspan | technical, | ||
| FieldSolverGrid & | fsgrid ) |
High-level derivative calculation wrapper function.
BVOL has been calculated locally by calculateVolumeAveragedFields but not communicated. For the acceleration step one needs the cross-derivatives of BVOL
| vol | fsGrid holding the volume averaged fields |
| technical | fsGrid holding technical information (such as boundary types) |
| fsgrid | fsgrid container |
Definition at line 361 of file derivatives.cpp.


| void calculateCurvatureSimple | ( | fsgrids::volspan | vol, |
| fsgrids::constbgbspan | bgb, | ||
| fsgrids::technicalspan | technical, | ||
| FieldSolverGrid & | fsgrid ) |
High-level curvature calculation wrapper function.
| vol | fsGrid holding the volume averaged fields |
| bgb | fsGrid holding the background fields |
| technical | fsGrid holding technical information (such as boundary types) |
| fsgrid | fsgrid container |
Definition at line 440 of file derivatives.cpp.


| void calculateDerivativesSimple | ( | fsgrids::perbspan | perb, |
| fsgrids::momentsspan | moments, | ||
| fsgrids::dperbspan | dperb, | ||
| fsgrids::dmomentsspan | dmoments, | ||
| fsgrids::technicalspan | technical, | ||
| FieldSolverGrid & | fsgrid, | ||
| const bool | doMoments ) |
High-level derivative calculation wrapper function.
B has to be updated because after the system boundary update in propagateMagneticFieldSimple there is no consistent state of B yet everywhere.
Then the derivatives are calculated.
| perb | fsGrid holding the perturbed B quantities |
| moments | fsGrid holding the moment quantities |
| dperb | fsGrid holding the derivatives of perturbed B |
| dmoments | fsGrid holding the derviatives of moments |
| technical | fsGrid holding technical information (such as boundary types) |
| fsgrid | fsgrid container |
| doMoments | If true, the derivatives of moments (rho, V, P) are communicated to neighbours and their derivatives updated. |
Definition at line 254 of file derivatives.cpp.


| void calculateScaledDeltasSimple | ( | dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & | mpiGrid | ) |
High-level scaled gradient calculation wrapper function.
Calculates gradients needed for alpha everywhere in the grid
Definition at line 664 of file derivatives.cpp.

