XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
update_ptl_weights.hpp
Go to the documentation of this file.
1 #ifndef UPDATE_PTL_WEIGHTS_HPP
2 #define UPDATE_PTL_WEIGHTS_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 "electric_field.hpp"
10 #include "plasma.hpp"
11 #include "domain_decomposition.hpp"
12 
13 
14 enum WtUpdateOption : bool { Update_W1_And_W2 = true, Update_W2_Only= false };
15 
17 
18 void update_ptl_weights(const Simulation<DeviceType>& sml, const Grid<DeviceType>& grid, const MagneticField<DeviceType>& magnetic_field, ElectricField<DeviceType>& electric_field, Species<DeviceType>& species, const VelocityGrid& vgrid, const DomainDecomposition<DeviceType>& pol_decomp, const WtUpdateOption wt_update_opt);
19 
20 #endif
WtUpdateOption
Definition: update_ptl_weights.hpp:14
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:12
Definition: electric_field.hpp:42
Definition: update_ptl_weights.hpp:14
Definition: update_ptl_weights.hpp:14
void all_species_update_ptl_weights(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, const WtUpdateOption wt_update_opt)
Definition: update_ptl_weights.cpp:85
Definition: magnetic_field.F90:1
Definition: plasma.hpp:13
Definition: species.hpp:75
void update_ptl_weights(const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, Species< DeviceType > &species, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, const WtUpdateOption wt_update_opt)
Definition: update_ptl_weights.cpp:53