|
XGCa
|
Contains functions related to coarse graining of particle weights. More...
#include "globals.hpp"#include "sml.hpp"#include "magnetic_field.hpp"#include "grid.hpp"#include "particles.hpp"#include "species.hpp"#include "electric_field.hpp"#include "plasma.hpp"#include "domain_decomposition.hpp"

Go to the source code of this file.
Functions | |
| void | coarse_graining_of_all_species (const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Plasma &plasma, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, double rate) |
| Coarse grain the weights of all species. More... | |
| void | coarse_graining_of_one_species (const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Species< DeviceType > &species, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, double rate) |
Contains functions related to coarse graining of particle weights.
| void coarse_graining_of_all_species | ( | const Grid< DeviceType > & | grid, |
| const MagneticField< DeviceType > & | magnetic_field, | ||
| Plasma & | plasma, | ||
| const VelocityGrid & | vgrid, | ||
| const DomainDecomposition< DeviceType > & | pol_decomp, | ||
| const double | rate | ||
| ) |
Coarse grain the weights of all species.
This function calculates and updates the weights of all non-adiabatic species based on coarse graining.
| grid | Grid object containing information about the grid. |
| magnetic_field | MagneticField object containing magnetic field information. |
| plasma | Plasma object containing plasma data. |
| vgrid | VelocityGrid object containing velocity grid information. |
| pol_decomp | DomainDecomposition object containing domain decomposition information. |
| rate | Coarse graining rate. |


| void coarse_graining_of_one_species | ( | const Grid< DeviceType > & | grid, |
| const MagneticField< DeviceType > & | magnetic_field, | ||
| Species< DeviceType > & | species, | ||
| const VelocityGrid & | vgrid, | ||
| const DomainDecomposition< DeviceType > & | pol_decomp, | ||
| double | rate | ||
| ) |