#include <Kokkos_Core.hpp>
#include "space_settings.hpp"
#include "sml.hpp"
#include "plasma.hpp"
#include "electric_field.hpp"
#include "vgrid_distribution.hpp"
Go to the source code of this file.
Adds analytic contribution to a distribution on the velocity grid.
- Parameters
-
[in] | sml | contains simulation control parameters |
[in] | electric_field | is the electric field object |
[in] | pol_decomp | is the domain decomposition |
[in] | plasma | is the plasma object |
[in,out] | f0_f | is the VGridDistribution being added to |
[in] | subtract | set to true if subtracting instead of adding |
- Returns
- void
Removes negative values (and zero values to avoid density = 0) in a distribution on the velocity grid by replacing with a small number (=epsil * maxwellian_initial profile).
- Parameters
-
- Returns
- void