XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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

void copy_wt_update_requisites (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, Species< DeviceType > &species, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp)
 
template<class Device , PhiInterpType PIT>
KOKKOS_INLINE_FUNCTION void update_ptl_weights_c (const Simulation< Device > &sml, 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, 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 copy_wt_update_requisites ( const Simulation< DeviceType > &  sml,
const Grid< DeviceType > &  grid,
Species< DeviceType > &  species,
const VelocityGrid vgrid,
const DomainDecomposition< DeviceType > &  pol_decomp 
)

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 Simulation< Device > &  sml,
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,
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: