XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
scatter.hpp File Reference
#include "globals.hpp"
#include "sml.hpp"
#include "magnetic_field.hpp"
#include "grid.hpp"
#include "particles.hpp"
#include "species.hpp"
#include "get_current_triangles.hpp"
#include "charge.hpp"
#include "perturbed_B_field.hpp"
#include "domain_decomposition.hpp"
Include dependency graph for scatter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void electron_charge_deposition (FortranPtr grid_fptr, FortranPtr psn_fptr, FortranPtr spall_fptr, const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, const PerturbedBField< DeviceType > &perturbed_B_field, const Charge< DeviceType > &charge, TmpSpecies< DeviceType > &tmp_species, const Species< DeviceType > &species)
 
void ion_charge (FortranPtr grid_fptr, FortranPtr psn_fptr, FortranPtr spall_fptr, const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, const PerturbedBField< DeviceType > &perturbed_B_field, const Charge< DeviceType > &charge, TmpSpecies< DeviceType > &tmp_species, std::vector< Species< DeviceType >> &all_species, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp)
 
template<KinType KT>
void scatter (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const ElectricField< DeviceType > &electric_field, const PerturbedBField< DeviceType > &perturbed_B_field, const Species< DeviceType > &species, const Charge< DeviceType > &charge, const TmpSpecies< DeviceType > &tmp_species)
 
void copy_scatter_results_from_device (FortranPtr psn_fptr, const Simulation< DeviceType > &sml, const Charge< DeviceType > &charge)
 
void copy_gyro_scatter_results_from_device (FortranPtr psn_fptr, const Simulation< DeviceType > &sml, const Charge< DeviceType > &charge)
 
template<class Device , KinType KT>
KOKKOS_INLINE_FUNCTION void particle_scatter_c (const Species< Device > &species, const TmpSpecies< Device > &tmp_species, const Charge< Device > &charge, const Grid< Device > &grid, const MagneticField< Device > &magnetic_field, const ElectricField< Device > &electric_field, const Simulation< Device > &sml, const PerturbedBField< Device > &perturbed_B_field, int i_item)
 

Function Documentation

void copy_gyro_scatter_results_from_device ( FortranPtr  psn_fptr,
const Simulation< DeviceType > &  sml,
const Charge< DeviceType > &  charge 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void copy_scatter_results_from_device ( FortranPtr  psn_fptr,
const Simulation< DeviceType > &  sml,
const Charge< DeviceType > &  charge 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void electron_charge_deposition ( FortranPtr  grid_fptr,
FortranPtr  psn_fptr,
FortranPtr  spall_fptr,
const Simulation< DeviceType > &  sml,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
ElectricField< DeviceType > &  electric_field,
const PerturbedBField< DeviceType > &  perturbed_B_field,
const Charge< DeviceType > &  charge,
TmpSpecies< DeviceType > &  tmp_species,
const Species< DeviceType > &  species 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void ion_charge ( FortranPtr  grid_fptr,
FortranPtr  psn_fptr,
FortranPtr  spall_fptr,
const Simulation< DeviceType > &  sml,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
ElectricField< DeviceType > &  electric_field,
const PerturbedBField< DeviceType > &  perturbed_B_field,
const Charge< DeviceType > &  charge,
TmpSpecies< DeviceType > &  tmp_species,
std::vector< Species< DeviceType >> &  all_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:

template<class Device , KinType KT>
KOKKOS_INLINE_FUNCTION void particle_scatter_c ( const Species< Device > &  species,
const TmpSpecies< Device > &  tmp_species,
const Charge< Device > &  charge,
const Grid< Device > &  grid,
const MagneticField< Device > &  magnetic_field,
const ElectricField< Device > &  electric_field,
const Simulation< Device > &  sml,
const PerturbedBField< Device > &  perturbed_B_field,
int  i_item 
)

Scatter electron charge density information onto the grid

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

Here is the call graph for this function:

template<KinType KT>
void scatter ( const Simulation< DeviceType > &  sml,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
const ElectricField< DeviceType > &  electric_field,
const PerturbedBField< DeviceType > &  perturbed_B_field,
const Species< DeviceType > &  species,
const Charge< DeviceType > &  charge,
const TmpSpecies< DeviceType > &  tmp_species 
)

Here is the call graph for this function: