XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
coarse_graining.hpp
Go to the documentation of this file.
1 #ifndef COARSE_GRAINING_HPP
2 #define COARSE_GRAINING_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 "species.hpp"
10 #include "electric_field.hpp"
11 #include "plasma.hpp"
12 #include "domain_decomposition.hpp"
13 
14 //enum CGWtUpdateOption : bool { CGUpdate_W1_And_W2 = true, CGUpdate_W2_Only= false };
15 
17 
19  Species<DeviceType>& species, const VelocityGrid& vgrid,
20  const DomainDecomposition<DeviceType>& pol_decomp, double rate);
21 
22 #endif
23 
void coarse_graining_of_all_species(const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Plasma &plasma, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, const double rate)
Coarse grain the weights of all species.
Definition: coarse_graining.cpp:195
Definition: velocity_grid.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:12
void coarse_graining_of_one_species(const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Plasma &plasma, Species< DeviceType > &species, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, const double rate)
Coarse grain the weights of one species.
Definition: coarse_graining.cpp:143
Definition: magnetic_field.F90:1
Definition: plasma.hpp:13
Definition: species.hpp:75