XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
diag_f0.hpp
Go to the documentation of this file.
1 #ifndef DIAG_F0_HPP
2 #define DIAG_F0_HPP
3 
4 #include "diagnostic.hpp"
5 #include "grid.hpp"
6 #include "plasma.hpp"
7 #include "charge.hpp"
8 #include "electric_field.hpp"
9 
10 class DiagF0 : public Diagnostic{
11 
12  public:
13 
15 
16  bool diag_f0_g;
17  bool diag_f0_n;
18  bool is_XGCa;
19 
20  DiagF0() : Diagnostic() {}
21 
22  void init(NLReader::NamelistReader& nlr, int default_period, bool is_XGCa_in);
23 
24  void write(const Grid<DeviceType>& grid, const DomainDecomposition<DeviceType>& pol_decomp,
25  Plasma& plasma, const Charges& charges, const ElectricField<DeviceType>& electric_field, const VGridDistribution<HostType>& f0_f, const VGridDistribution<HostType>& f0_n, double time, int gstep);
26 
27 };
28 
29 #endif
Definition: charge.hpp:66
DiagF0()
Definition: diag_f0.hpp:20
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: NamelistReader.hpp:193
Definition: electric_field.hpp:42
void init(NLReader::NamelistReader &nlr, int default_period, bool is_XGCa_in)
Definition: diag_f0.cpp:3
bool adios_stage
Definition: diag_f0.hpp:14
bool is_XGCa
Definition: diag_f0.hpp:18
Definition: diag_f0.hpp:10
void write(const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, Plasma &plasma, const Charges &charges, const ElectricField< DeviceType > &electric_field, const VGridDistribution< HostType > &f0_f, const VGridDistribution< HostType > &f0_n, double time, int gstep)
Definition: diag_f0.cpp:23
bool diag_f0_n
writing f0_n output in restart_dir/xgc.f0.xxx.bp
Definition: diag_f0.hpp:17
bool diag_f0_g
writing f0_g output in restart_dir/xgc.f0.xxx.bp
Definition: diag_f0.hpp:16
Definition: plasma.hpp:13
Definition: diagnostic.hpp:10