XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 void calculate_charge(const Simulation<DeviceType> &sml, const Grid<DeviceType> &grid,
17  const VelocityGrid& vgrid, const DomainDecomposition<DeviceType>& pol_decomp);
18 
19 template<KinType KT, PhiInterpType PIT>
20 void scatter(const Simulation<DeviceType> &sml, const Grid<DeviceType> &grid,
22  const Species<DeviceType> &species, const Charge<DeviceType> &charge);
23 #endif
void calculate_charge(const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, Charge< DeviceType > &charge, Plasma &plasma, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp)
Definition: scatter.cpp:31
Definition: velocity_grid.hpp:7
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:1235
Definition: magnetic_field.hpp:9
Definition: electric_field.hpp:12
Definition: grid_field_pack.hpp:239
void scatter(const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const GridFieldPack< DeviceType, PIT > &gfpack, const Species< DeviceType > &species, const Charge< DeviceType > &charge)
Definition: scatter.cpp:302
Definition: magnetic_field.F90:1
Definition: plasma.hpp:15
Definition: species.hpp:66