XGCa
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
Definition: magnetic_field.hpp:12
Definition: plasma.hpp:13
Definition: sml.hpp:9
Definition: species.hpp:75
Definition: magnetic_field.F90:1
subroutine plasma(grid, itr, p, dene_out, deni_out, Te_out, Ti_out, Vparai_out, ignore_vacuum)
Calculate the plasma density, temperature, and parallel velocity for a point in triangle itr using pl...
Definition: neutral_totalf.F90:1548
Definition: electric_field.hpp:76
Definition: velocity_grid.hpp:8
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:94
WtUpdateOption
Definition: update_ptl_weights.hpp:14
@ Update_W1_And_W2
Definition: update_ptl_weights.hpp:14
@ Update_W2_Only
Definition: update_ptl_weights.hpp:14
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:54