XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
update_ptl_weights.cpp File Reference
#include <Kokkos_Atomic.hpp>
#include "timer_macro.hpp"
#include "get_current_triangles.hpp"
#include "getf0.hpp"
#include "update_ptl_weights.hpp"
Include dependency graph for update_ptl_weights.cpp:

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)
 

Function Documentation

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 
)

Here is the call graph for this function:

Here is the caller graph for this function:

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 
)

Here is the call graph for this function:

Here is the caller graph for this function:

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 
)

Loop over particles and update the electron weights from tmp_const based on f adjustment

Parameters
[in]partParticle AoSoA
[in]i_itemParticle/vector index

Here is the call graph for this function:

Here is the caller graph for this function: