XGC1
|
#include <Kokkos_Atomic.hpp>
#include "timer_macro.hpp"
#include "get_current_triangles.hpp"
#include "getf0.hpp"
#include "update_ptl_weights.hpp"
Functions | |
template<class Device , PhiInterpType PIT> | |
KOKKOS_INLINE_FUNCTION void | update_ptl_weights_c (const Grid< Device > &grid, const MagneticField< Device > &magnetic_field, const GridFieldPack< Device, PIT > &gfpack, const Species< Device > &species, const VelocityGrid &vgrid, const DomainDecomposition< Device > &pol_decomp, const WtUpdateOption wt_update_opt, bool use_dpot, double dpot_te_limit, bool use_grid_contribution, int i_item) |
void | update_ptl_weights (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, Species< DeviceType > &species, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, const WtUpdateOption wt_update_opt) |
void | all_species_update_ptl_weights (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, Plasma &plasma, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, const WtUpdateOption wt_update_opt) |
void all_species_update_ptl_weights | ( | const Simulation< DeviceType > & | sml, |
const Grid< DeviceType > & | grid, | ||
const MagneticField< DeviceType > & | magnetic_field, | ||
ElectricField< DeviceType > & | electric_field, | ||
Plasma & | plasma, | ||
const VelocityGrid & | vgrid, | ||
const DomainDecomposition< DeviceType > & | pol_decomp, | ||
const WtUpdateOption | wt_update_opt | ||
) |
void update_ptl_weights | ( | const Simulation< DeviceType > & | sml, |
const Grid< DeviceType > & | grid, | ||
const MagneticField< DeviceType > & | magnetic_field, | ||
ElectricField< DeviceType > & | electric_field, | ||
Species< DeviceType > & | species, | ||
const VelocityGrid & | vgrid, | ||
const DomainDecomposition< DeviceType > & | pol_decomp, | ||
const WtUpdateOption | wt_update_opt | ||
) |
KOKKOS_INLINE_FUNCTION void update_ptl_weights_c | ( | const Grid< Device > & | grid, |
const MagneticField< Device > & | magnetic_field, | ||
const GridFieldPack< Device, PIT > & | gfpack, | ||
const Species< Device > & | species, | ||
const VelocityGrid & | vgrid, | ||
const DomainDecomposition< Device > & | pol_decomp, | ||
const WtUpdateOption | wt_update_opt, | ||
bool | use_dpot, | ||
double | dpot_te_limit, | ||
bool | use_grid_contribution, | ||
int | i_item | ||
) |
Loop over particles and update the electron weights from tmp_const based on f adjustment
[in] | part | Particle AoSoA |
[in] | i_item | Particle/vector index |