XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
restart.hpp
Go to the documentation of this file.
1 #ifndef RESTART_HPP
2 #define RESTART_HPP
3 
4 #include "sml.hpp"
5 #include "plasma.hpp"
6 #include "electric_field.hpp"
7 #include "grid.hpp"
9 #include "DM_wrapper.hpp"
10 #include "diagnostics.hpp"
11 
13 
15  const Grid<DeviceType>& grid,
17  ElectricField<DeviceType>& electric_field,
18  Plasma& plasma,
19  const VelocityGrid& vgrid,
20  const DomainDecomposition<DeviceType>& pol_decomp,
21  DMWrapper& pseudo_inv_dm, Diagnostics& diagnostics);
22 
24  const Grid<DeviceType>& grid,
26  const VelocityGrid& vgrid, bool sml_f0_grid);
27 
28 #endif
Definition: velocity_grid.hpp:8
Definition: diagnostics.hpp:12
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:1236
Definition: DM_wrapper.hpp:38
Definition: magnetic_field.hpp:12
Definition: electric_field.hpp:41
void restart_read(Plasma &plasma, DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const VelocityGrid &vgrid, bool sml_f0_grid)
Definition: restart.cpp:79
void write_restart(Plasma &plasma)
Definition: restart.cpp:18
void final_write_restart(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, DMWrapper &pseudo_inv_dm, Diagnostics &diagnostics)
Definition: restart.cpp:40
Definition: magnetic_field.F90:1
Definition: plasma.hpp:14