|
Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
|
#include <phiprof.hpp>#include "arch_moments.h"#include "vlasovmover.h"#include "../object_wrapper.h"#include "../fieldsolver/fs_common.h"
Go to the source code of this file.
Functions | |
| void | calculateCellMoments (spatial_cell::SpatialCell *cell, const bool &computeSecond, const bool &computePopulationMomentsOnly, const bool &doNotSkip) |
| void | calculateMoments_R (dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, const std::vector< CellID > &cells, const bool &computeSecond, const bool initialCompute) |
| void | calculateMoments_V (dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, const std::vector< CellID > &cells, const bool &computeSecond, const bool initialCompute) |
| void calculateCellMoments | ( | spatial_cell::SpatialCell * | cell, |
| const bool & | computeSecond, | ||
| const bool & | computePopulationMomentsOnly, | ||
| const bool & | doNotSkip ) |
Calculate zeroth, first, and (possibly) second bulk velocity moments for the given spatial cell. The calculated moments include contributions from all existing particle populations.
| cell | Spatial cell. |
| computeSecond | If true, second velocity moments are calculated. |
| doNotSkip | If false, DO_NOT_COMPUTE cells are skipped. |
Definition at line 41 of file arch_moments.cpp.


| void calculateMoments_R | ( | dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & | mpiGrid, |
| const std::vector< CellID > & | cells, | ||
| const bool & | computeSecond, | ||
| const bool | initialCompute ) |
Calculate zeroth, first, and (possibly) second bulk velocity moments for the given spatial cell. The calculated moments include contributions from all existing particle populations. The calculated moments are stored to SpatialCell::parameters in _R variables.
| mpiGrid | Parallel grid library. |
| cells | Vector containing the spatial cells to be calculated. |
| computeSecond | If true, second velocity moments are calculated. |
| initialCompute | If true, force re-calculation of outflow L1 sysboundary cell moments. (otherwise skipped as their VDF contents are not kept up to date) |
Definition at line 178 of file arch_moments.cpp.


| void calculateMoments_V | ( | dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & | mpiGrid, |
| const std::vector< CellID > & | cells, | ||
| const bool & | computeSecond, | ||
| const bool | initialCompute ) |
Calculate zeroth, first, and (possibly) second bulk velocity moments for the given spatial cell. Additionally, for each species, calculate the maximum spatial time step so that CFL(spatial)=1. The calculated moments include contributions from all existing particle populations. The calculated moments are stored to SpatialCell::parameters in _V variables.
| mpiGrid | Parallel grid library. |
| cells | Vector containing the spatial cells to be calculated. |
| computeSecond | If true, second velocity moments are calculated. |
| initialCompute | If true, force re-calculation of outflow L1 sysboundary cell moments. (otherwise skipped as their VDF contents are not kept up to date) |
Definition at line 342 of file arch_moments.cpp.

