XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
update_f0.cpp File Reference
#include "timer_macro.hpp"
#include "globals.hpp"
#include "sml.hpp"
#include "magnetic_field.hpp"
#include "grid.hpp"
#include "particles.hpp"
#include "species.hpp"
#include "domain_decomposition.hpp"
#include "send_particles.hpp"
#include "update_f0.hpp"
Include dependency graph for update_f0.cpp:

Functions

double * get_inv_grid_vol_loc ()
 
double * get_f0g_loc ()
 
double * get_f_loc ()
 
double * get_n_loc ()
 
double * get_temp_ev_loc ()
 
template<class Device >
KOKKOS_INLINE_FUNCTION void f0_update_f0g (const Grid< Device > &grid, const MagneticField< Device > &magnetic_field, const Species< Device > &species, const VelocityGrid &vgrid, int node, double phi, double mu_n, double vp_n, double df0g, double df2, double w0, double w1w0, bool update_f_and_n)
 
template<class Device >
KOKKOS_INLINE_FUNCTION void update_f0_sp_c (const TmpSpecies< Device > &tmp_species, const Simulation< Device > &sml, const Grid< Device > &grid, const MagneticField< Device > &magnetic_field, const Species< Device > &species, const VelocityGrid &vgrid, const DomainDecomposition< Device > &pol_decomp, double alpha_in, bool update_f_and_n, bool f_source_on, int i_item)
 
void f0_update (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const Species< DeviceType > &species, const TmpSpecies< DeviceType > &tmp_species, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, double alpha_in, bool f_source_on)
 
void update_f0_sp (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Species< DeviceType > &species, const TmpSpecies< DeviceType > &tmp_species, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, int isp_non_ad, double alpha_in, bool f_source_on)
 
void all_species_update_f0 (FortranPtr spall_fptr, const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, std::vector< Species< DeviceType >> &all_species, TmpSpecies< DeviceType > &tmp_species, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, double alpha_in, bool f_source_on)
 

Function Documentation

void all_species_update_f0 ( FortranPtr  spall_fptr,
const Simulation< DeviceType > &  sml,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
std::vector< Species< DeviceType >> &  all_species,
TmpSpecies< DeviceType > &  tmp_species,
const VelocityGrid vgrid,
const DomainDecomposition< DeviceType > &  pol_decomp,
double  alpha_in,
bool  f_source_on 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void f0_update ( const Simulation< DeviceType > &  sml,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
const Species< DeviceType > &  species,
const TmpSpecies< DeviceType > &  tmp_species,
const VelocityGrid vgrid,
const DomainDecomposition< DeviceType > &  pol_decomp,
double  alpha_in,
bool  f_source_on 
)

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Device >
KOKKOS_INLINE_FUNCTION void f0_update_f0g ( const Grid< Device > &  grid,
const MagneticField< Device > &  magnetic_field,
const Species< Device > &  species,
const VelocityGrid vgrid,
int  node,
double  phi,
double  mu_n,
double  vp_n,
double  df0g,
double  df2,
double  w0,
double  w1w0,
bool  update_f_and_n 
)

Here is the caller graph for this function:

double* get_f0g_loc ( )
double* get_f_loc ( )
double* get_inv_grid_vol_loc ( )

Here is the caller graph for this function:

double* get_n_loc ( )

Here is the caller graph for this function:

double* get_temp_ev_loc ( )
void update_f0_sp ( const Simulation< DeviceType > &  sml,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
Species< DeviceType > &  species,
const TmpSpecies< DeviceType > &  tmp_species,
const VelocityGrid vgrid,
const DomainDecomposition< DeviceType > &  pol_decomp,
int  isp_non_ad,
double  alpha_in,
bool  f_source_on 
)

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Device >
KOKKOS_INLINE_FUNCTION void update_f0_sp_c ( const TmpSpecies< Device > &  tmp_species,
const Simulation< Device > &  sml,
const Grid< Device > &  grid,
const MagneticField< Device > &  magnetic_field,
const Species< Device > &  species,
const VelocityGrid vgrid,
const DomainDecomposition< Device > &  pol_decomp,
double  alpha_in,
bool  update_f_and_n,
bool  f_source_on,
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: