XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
scatter.hpp
Go to the documentation of this file.
1 #ifndef SCATTER_HPP
2 #define SCATTER_HPP
3 
4 #include "globals.hpp"
5 #include "sml.hpp"
6 #include "magnetic_field.hpp"
7 #include "grid.hpp"
8 #include "particles.hpp"
9 #include "plasma.hpp"
11 #include "charge.hpp"
12 #include "domain_decomposition.hpp"
13 
14 template<KinType KT>
15 void calculate_charge(const Simulation<DeviceType> &sml, const Grid<DeviceType> &grid,
18  const VelocityGrid& vgrid, const DomainDecomposition<DeviceType>& pol_decomp);
19 
22  const VelocityGrid& vgrid, const DomainDecomposition<DeviceType>& pol_decomp, Charges& charges);
23 
24 template<KinType KT, PhiInterpType PIT>
25 void scatter(const Grid<DeviceType> &grid,
27  const Species<DeviceType> &species, bool exclude_private, bool do_cv_adjustment, bool cv_full_weight, const Charge<DeviceType,KT> &charge);
28 #endif
Definition: charge.hpp:66
void chargee_background_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)
Definition: scatter.cpp:111
void scatter(const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const GridFieldPack< DeviceType, PIT > &gfpack, const Species< DeviceType > &species, bool exclude_private, bool do_cv_adjustment, bool cv_full_weight, const Charge< DeviceType, KT > &charge)
Definition: scatter.cpp:239
Definition: velocity_grid.hpp:8
Definition: sml.hpp:8
subroutine plasma(grid, itr, p, dene_out, deni_out, Te_out, Ti_out, Vparai_out)
Calculate the plasma density, temperature, and parallel velocity for a point in triangle itr using pl...
Definition: neutral_totalf.F90:1224
Definition: NamelistReader.hpp:193
Definition: magnetic_field.hpp:12
Definition: electric_field.hpp:42
Definition: grid_field_pack.hpp:21
Definition: magnetic_field.F90:1
Definition: plasma.hpp:13
Definition: species.hpp:75
Definition: charge.hpp:11
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)
Definition: scatter.cpp:39