XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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, long long int tracer_gid, const Grid<DeviceType> &grid,
27  const Simulation<DeviceType> &sml, const Species<DeviceType> &species, const DomainDecomposition<DeviceType>& pol_decomp);
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: 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:1238
Definition: magnetic_field.hpp:12
Definition: electric_field.hpp:37
void init(const std::string &name, int period, int first_step=-1)
Definition: diagnostic.hpp:37
TracerDiagnostics()
Definition: tracer_diag.hpp:16
Definition: tracer_diag.hpp:12
Definition: magnetic_field.F90:1
void tracer_diag(int ipc, long long int tracer_gid, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, const Simulation< DeviceType > &sml, const Species< DeviceType > &species, const DomainDecomposition< DeviceType > &pol_decomp)
Definition: tracer_diag.cpp:192
Definition: plasma.hpp:14
Definition: diagnostic.hpp:9
Definition: species.hpp:75
void init(const std::string &name)
Definition: tracer_diag.hpp:18