Go to the source code of this file.
|
void | all_species_distribute_f0g (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Plasma &plasma, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, DMWrapper &pseudo_inv_dm, Pseudo_inverse< DeviceType > &pseudo_inv, VGridDistribution< HostType > &f0_n, VGridDistribution< HostType > &f0_df0g, PseudoInvDiagnostics &pseudo_inv_diag) |
|
void | distribute_f0g (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Species< DeviceType > &species, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, DMWrapper &pseudo_inv_dm, Pseudo_inverse< DeviceType > &pseudo_inv, VGridDistribution< HostType > &f0_n, VGridDistribution< HostType > &f0_df0g, PseudoInvDiagnostics &pseudo_inv_diag) |
|
void all_species_distribute_f0g |
( |
const Simulation< DeviceType > & |
sml, |
|
|
const Grid< DeviceType > & |
grid, |
|
|
const MagneticField< DeviceType > & |
magnetic_field, |
|
|
Plasma & |
plasma, |
|
|
const VelocityGrid & |
vgrid, |
|
|
const DomainDecomposition< DeviceType > & |
pol_decomp, |
|
|
DMWrapper & |
pseudo_inv_dm, |
|
|
Pseudo_inverse< DeviceType > & |
pseudo_inv, |
|
|
VGridDistribution< HostType > & |
f0_n, |
|
|
VGridDistribution< HostType > & |
f0_df0g, |
|
|
PseudoInvDiagnostics & |
pseudo_inv_diag |
|
) |
| |
Loops over all non-adiabatic species and adjusts particle weight to distribute f0g distribution function to particles
- Parameters
-
[in] | sml | contains simulation control parameters |
[in] | grid | is the spatial grid |
[in] | magnetic_field | is the magnetic field |
[in] | plasma | contains all species info |
[in] | vgrid | contains the velocity grid dimensions |
[in] | pol_decomp | contains poloidal decomposition info |
[in] | pseudo_inv_dm | is the pseudo-inverse mesh object |
[in] | pseudo_inv | is the pseudo-inverse object (contains pseudo-inverse arrays) |
- Returns
- void
void distribute_f0g |
( |
const Simulation< DeviceType > & |
sml, |
|
|
const Grid< DeviceType > & |
grid, |
|
|
const MagneticField< DeviceType > & |
magnetic_field, |
|
|
Species< DeviceType > & |
species, |
|
|
const VelocityGrid & |
vgrid, |
|
|
const DomainDecomposition< DeviceType > & |
pol_decomp, |
|
|
DMWrapper & |
pseudo_inv_dm, |
|
|
Pseudo_inverse< DeviceType > & |
pseudo_inv, |
|
|
VGridDistribution< HostType > & |
f0_n, |
|
|
VGridDistribution< HostType > & |
f0_df0g, |
|
|
PseudoInvDiagnostics & |
pseudo_inv_diag |
|
) |
| |
Copies f0 data to device, then adjusts particle weight to distribute f0g distribution function to particles
- Parameters
-
[in] | sml | contains simulation control parameters |
[in] | grid | is the spatial grid |
[in] | magnetic_field | is the magnetic field |
[in,out] | species | contains species parameters and particles |
[in] | vgrid | contains the velocity grid dimensions |
[in] | pol_decomp | contains poloidal decomposition info |
[in] | pseudo_inv_dm | is the pseudo-inverse mesh object |
[in] | pseudo_inv | is the pseudo-inverse object (contains pseudo-inverse arrays) |
- Returns
- void