XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
main_loop.hpp
Go to the documentation of this file.
1 #ifndef MAIN_LOOP_HPP
2 #define MAIN_LOOP_HPP
3 
5 #include "plasma.hpp"
6 #include "DM_wrapper.hpp"
7 #include "diagnostics.hpp"
8 #include "load_balance.hpp"
9 #include "sources.hpp"
10 #include "charge.hpp"
11 #include "checkpoint_files.hpp"
12 
13 void main_loop(int istep,
16  Plasma& plasma,
17  Neutrals<DeviceType>& neutrals,
18  LoadBalance& load_balance,
20  const Grid<DeviceType>& grid,
21  Sheath<DeviceType>& sheath,
22  ElectricField<DeviceType>& electric_field,
23  PerturbedBField<DeviceType>& perturbed_B_field,
24  Sources& sources,
25  Smoothing& smoothing,
26  Diagnostics& diagnostics,
27  Charges& charges,
28  VelocityGrid& vgrid,
29  DMWrapper& pseudo_inv_dm,
30  CheckpointFiles& checkpoint_files);
31 
32 #endif
Definition: sources.hpp:19
Definition: charge.hpp:66
Definition: perturbed_B_field.hpp:12
Definition: velocity_grid.hpp:8
Definition: diagnostics.hpp:18
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: DM_wrapper.hpp:38
Definition: magnetic_field.hpp:12
Definition: electric_field.hpp:42
Definition: neutrals.hpp:9
Definition: smoothing.hpp:8
void main_loop(int istep, Simulation< DeviceType > &sml, const MagneticField< DeviceType > &magnetic_field, Plasma &plasma, Neutrals< DeviceType > &neutrals, LoadBalance &load_balance, DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, Sheath< DeviceType > &sheath, ElectricField< DeviceType > &electric_field, PerturbedBField< DeviceType > &perturbed_B_field, Sources &sources, Smoothing &smoothing, Diagnostics &diagnostics, Charges &charges, VelocityGrid &vgrid, DMWrapper &pseudo_inv_dm, CheckpointFiles &checkpoint_files)
Definition: main_loop.cpp:44
Definition: magnetic_field.F90:1
Definition: plasma.hpp:13
Definition: checkpoint_files.hpp:22
Definition: sheath.hpp:49
Definition: load_balance.hpp:270