XGCa
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 #include "solvers.hpp"
13 
14 void main_loop(int istep,
17  Plasma& plasma,
18  Neutrals<DeviceType>& neutrals,
19  LoadBalance& load_balance,
21  const Grid<DeviceType>& grid,
22  Sheath<DeviceType>& sheath,
23  Solvers& solvers,
24  ElectricField<DeviceType>& electric_field,
25  PerturbedBField<DeviceType>& perturbed_B_field,
26  Sources& sources,
27  Smoothing& smoothing,
28  Diagnostics& diagnostics,
29  Charges& charges,
30  VelocityGrid& vgrid,
31  DMWrapper& pseudo_inv_dm,
32  CheckpointFiles& checkpoint_files);
33 
34 #endif
Definition: checkpoint_files.hpp:23
Definition: load_balance.hpp:270
Definition: magnetic_field.hpp:12
Definition: neutrals.hpp:15
Definition: perturbed_B_field.hpp:12
Definition: plasma.hpp:13
Definition: sheath.hpp:49
Definition: sml.hpp:9
Definition: solvers.hpp:15
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, Solvers &solvers, 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:38
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: charge.hpp:66
Definition: DM_wrapper.hpp:34
Definition: diagnostics.hpp:20
Definition: electric_field.hpp:76
Definition: smoothing.hpp:10
Definition: sources.hpp:21
Definition: velocity_grid.hpp:8