XGC1
Functions
scatter.hpp File Reference
#include "globals.hpp"
#include "sml.hpp"
#include "magnetic_field.hpp"
#include "grid.hpp"
#include "particles.hpp"
#include "plasma.hpp"
#include "get_current_triangles.hpp"
#include "charge.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

template<KinType KT>
void calculate_charge (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, Charge< DeviceType, KT > &charge, Plasma &plasma, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, bool fullf_only)
 
void charge_offset_fullf_setup (NLReader::NamelistReader &nlr, 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, Charges &charges)
 
template<KinType KT, PhiInterpType PIT>
void scatter (const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const GridField< DeviceType, VarType::Scalar, PIT, TorType::OnePlane, KT > &Ah_gf, const Species< DeviceType > &species, bool exclude_private, bool do_cv_adjustment, bool cv_full_weight, const Charge< DeviceType, KT > &charge)
 

Function Documentation

◆ calculate_charge()

template<KinType KT>
void calculate_charge ( const Simulation< DeviceType > &  sml,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
ElectricField< DeviceType > &  electric_field,
Charge< DeviceType, KT > &  charge,
Plasma plasma,
const VelocityGrid vgrid,
const DomainDecomposition< DeviceType > &  pol_decomp,
bool  fullf_only 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ charge_offset_fullf_setup()

void charge_offset_fullf_setup ( NLReader::NamelistReader nlr,
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,
Charges charges 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ scatter()

template<KinType KT, PhiInterpType PIT>
void scatter ( const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
const GridField< DeviceType, VarType::Scalar, PIT, TorType::OnePlane, KT > &  Ah_gf,
const Species< DeviceType > &  species,
bool  exclude_private,
bool  do_cv_adjustment,
bool  cv_full_weight,
const Charge< DeviceType, KT > &  charge 
)
Here is the call graph for this function:
Here is the caller graph for this function: