XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
ThermalBath Struct Reference

#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
 

Constructor & Destructor Documentation

ThermalBath::ThermalBath ( )
inline
ThermalBath::ThermalBath ( NLReader::NamelistReader nlr)

Constructs a ThermalBath object.

Parameters
nlrNamelistReader object containing thermal bath parameters.

Here is the call graph for this function:

Member Function Documentation

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.

Parameters
smlSimulation object.
gridGrid object.
magnetic_fieldMagnetic field object.
plasmaPlasma object.
vgridVelocity grid object.
pol_decompDomain decomposition object.

Here is the call graph for this function:

Member Data Documentation

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

The documentation for this struct was generated from the following files: