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 
20 template<KinType KT, PhiInterpType PIT>
21 void scatter(const Grid<DeviceType> &grid,
23  const Species<DeviceType> &species, bool exclude_private, bool do_cv_adjustment, bool cv_full_weight, const Charge<DeviceType,KT> &charge);
24 #endif
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:214
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: magnetic_field.hpp:13
Definition: electric_field.hpp:40
Definition: grid_field_pack.hpp:21
Definition: magnetic_field.F90:1
Definition: plasma.hpp:14
Definition: species.hpp:75
Definition: charge.hpp:14
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:37