XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 
12 
14  const Grid<DeviceType>& grid,
16  ElectricField<DeviceType>& electric_field,
17  Plasma& plasma,
18  const VelocityGrid& vgrid,
19  const DomainDecomposition<DeviceType>& pol_decomp,
20  DMWrapper& pseudo_inv_dm);
21 
22 void restart_read(Plasma& plasma, DomainDecomposition<DeviceType>& pol_decomp, const VelocityGrid& vgrid, bool sml_f0_grid);
23 
24 #endif
Definition: velocity_grid.hpp:7
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:1235
Definition: DM_wrapper.hpp:33
Definition: magnetic_field.hpp:9
Definition: electric_field.hpp:12
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)
Definition: restart.cpp:40
void write_restart(Plasma &plasma)
Definition: restart.cpp:18
Definition: magnetic_field.F90:1
Definition: plasma.hpp:15
void restart_read(Plasma &plasma, DomainDecomposition< DeviceType > &pol_decomp, const VelocityGrid &vgrid, bool sml_f0_grid)
Definition: restart.cpp:79