XGC1
tracer_diag.hpp
Go to the documentation of this file.
1 #ifndef TRACER_DIAG_HPP
2 #define TRACER_DIAG_HPP
3 
4 #include "sml.hpp"
5 #include "magnetic_field.hpp"
6 #include "grid.hpp"
7 #include "electric_field.hpp"
8 #include "species.hpp"
9 #include "plasma.hpp"
10 #include "diagnostic.hpp"
11 
12 class TracerDiagnostics : public Diagnostic {
13 
14  public:
15 
17 
18  void init(const std::string& name){
19  Diagnostic::init(name, 1); // 1 is frequency, value is not used anywhere yet though
20  }
21 
22  //void write();
23 };
24 
25 void tracer_diag(int ipc, const Grid<DeviceType> &grid,
28 
29 #ifdef ESC_PTL
30 // Tracer diagnostic for Gordon-Bell, where particles carry extended tracer structure
31 void gb_particle_stream_diag(int istep, Plasma& plasma, const MagneticField<DeviceType> &magnetic_field);
32 #endif
33 
34 #endif
35 
Definition: diagnostic.hpp:10
void init(const std::string &name, int period, int first_step=-1)
Definition: diagnostic.hpp:46
Definition: magnetic_field.hpp:12
Definition: plasma.hpp:13
Definition: sml.hpp:9
Definition: tracer_diag.hpp:12
void init(const std::string &name)
Definition: tracer_diag.hpp:18
TracerDiagnostics()
Definition: tracer_diag.hpp:16
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: electric_field.hpp:76
void tracer_diag(int ipc, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, const Simulation< DeviceType > &sml, Plasma &plasma, const DomainDecomposition< DeviceType > &pol_decomp)
Definition: tracer_diag.cpp:197