XGCa
 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, const Grid<DeviceType> &grid,
28  Smoothing& smoothing);
29 
30 #ifdef ESC_PTL
31 // Tracer diagnostic for Gordon-Bell, where particles carry extended tracer structure
32 void gb_particle_stream_diag(int istep, Plasma& plasma, const MagneticField<DeviceType> &magnetic_field);
33 #endif
34 
35 #endif
36 
Definition: sml.hpp:8
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, Smoothing &smoothing)
Definition: tracer_diag.cpp:197
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: magnetic_field.hpp:12
Definition: electric_field.hpp:42
void init(const std::string &name, int period, int first_step=-1)
Definition: diagnostic.hpp:46
TracerDiagnostics()
Definition: tracer_diag.hpp:16
Definition: smoothing.hpp:8
Definition: tracer_diag.hpp:12
Definition: magnetic_field.F90:1
Definition: plasma.hpp:13
Definition: diagnostic.hpp:10
void init(const std::string &name)
Definition: tracer_diag.hpp:18