XGCa
|
#include <thermal_bath.hpp>
Public Member Functions | |
ThermalBath () | |
ThermalBath (NLReader::NamelistReader &nlr) | |
Constructs a ThermalBath object. More... | |
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. More... | |
Public Attributes | |
double | inpsi |
Thermal Bath overlap region inner boundary. More... | |
double | outpsi |
Thermal Bath overlap region outer boundary. More... | |
double | gamma |
Thermal Bath gamma_k. More... | |
int | n_energy_bins |
Thermal Bath energy bin number. More... | |
int | n_diag_bins |
Thermal Bath energy bin diag number. More... | |
double | gamma_coarse_graining |
Coarse-graining gamma_cg. More... | |
double | vmax |
|
inline |
ThermalBath::ThermalBath | ( | NLReader::NamelistReader & | nlr | ) |
Constructs a ThermalBath object.
nlr | NamelistReader object containing thermal bath parameters. |
void ThermalBath::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.
sml | Simulation object. |
grid | Grid object. |
magnetic_field | Magnetic field object. |
plasma | Plasma object. |
vgrid | Velocity grid object. |
pol_decomp | Domain decomposition object. |
double ThermalBath::gamma |
Thermal Bath gamma_k.
double ThermalBath::gamma_coarse_graining |
Coarse-graining gamma_cg.
double ThermalBath::inpsi |
Thermal Bath overlap region inner boundary.
int ThermalBath::n_diag_bins |
Thermal Bath energy bin diag number.
int ThermalBath::n_energy_bins |
Thermal Bath energy bin number.
double ThermalBath::outpsi |
Thermal Bath overlap region outer boundary.
double ThermalBath::vmax |