XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
thermal_bath.hpp
Go to the documentation of this file.
1 #ifndef THERMAL_BATH_HPP
2 #define THERMAL_BATH_HPP
3 
4 #include "electric_field.hpp"
5 #include "plasma.hpp"
6 #include "sml.hpp"
7 
8 struct ThermalBath{
9  double inpsi;
10  double outpsi;
11  double gamma;
15  double vmax;
16 
18 
20 
22 };
23 
24 #endif
double gamma
Thermal Bath gamma_k.
Definition: thermal_bath.hpp:11
Definition: velocity_grid.hpp:8
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:1224
Definition: thermal_bath.hpp:8
Definition: NamelistReader.hpp:193
Definition: magnetic_field.hpp:14
int n_energy_bins
Thermal Bath energy bin number.
Definition: thermal_bath.hpp:12
ThermalBath()
Definition: thermal_bath.hpp:17
void apply(const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Plasma &plasma, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp)
Applies thermal bath effects.
Definition: thermal_bath.cpp:382
int n_diag_bins
Thermal Bath energy bin diag number.
Definition: thermal_bath.hpp:13
double inpsi
Thermal Bath overlap region inner boundary.
Definition: thermal_bath.hpp:9
double gamma_coarse_graining
Coarse-graining gamma_cg.
Definition: thermal_bath.hpp:14
Definition: magnetic_field.F90:1
double vmax
Definition: thermal_bath.hpp:15
Definition: plasma.hpp:14
double outpsi
Thermal Bath overlap region outer boundary.
Definition: thermal_bath.hpp:10