XGC1
Public Member Functions | Public Attributes | Private Attributes | List of all members
Sources Struct Reference

#include <sources.hpp>

Collaboration diagram for Sources:
Collaboration graph
[legend]

Public Member Functions

 Sources ()
 
 Sources (NLReader::NamelistReader &nlr, const DomainDecomposition< DeviceType > &pol_decomp, const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, const VelocityGrid &vgrid, Plasma &plasma, bool exclude_private_region, bool overwrite_existing_files)
 
void close_streams ()
 
bool is_triggered (int step)
 

Public Attributes

int f_source_period
 Frequency of f_sources. More...
 
Source neutrals
 
Diffusion diffusion
 
Radiation radiation
 
Source heat_and_torque
 
Source collisions
 
CurrentDrive current_drive
 
Pellet pellet
 
ThermalBath thermal_bath
 
FGridCoarseGraining fgrid_coarse_graining
 
CollisionMode col_mode
 Collision operator model. More...
 
MonteCarloCollider< DeviceTypecol_mc
 Monte carlo collisions, only used by MonteCarloNonConserving. More...
 
CollisionGrid< DeviceTypecol_grid
 Collision grid, only used by NonLinearFokkerPlanckLandau. More...
 

Private Attributes

StepTrigger step_trigger
 

Constructor & Destructor Documentation

◆ Sources() [1/2]

Sources::Sources ( )
inline

◆ Sources() [2/2]

Sources::Sources ( NLReader::NamelistReader nlr,
const DomainDecomposition< DeviceType > &  pol_decomp,
const MagneticField< DeviceType > &  magnetic_field,
const Grid< DeviceType > &  grid,
const VelocityGrid vgrid,
Plasma plasma,
bool  exclude_private_region,
bool  overwrite_existing_files 
)

< Start time of neutral recycling in ion time steps

< Start time of source in ion time steps

< Switch for anomalous diffusion

< On/off switch for pellet ablation

Here is the call graph for this function:

Member Function Documentation

◆ close_streams()

void Sources::close_streams ( )
inline
Here is the caller graph for this function:

◆ is_triggered()

bool Sources::is_triggered ( int  step)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ col_grid

CollisionGrid<DeviceType> Sources::col_grid

Collision grid, only used by NonLinearFokkerPlanckLandau.

◆ col_mc

MonteCarloCollider<DeviceType> Sources::col_mc

Monte carlo collisions, only used by MonteCarloNonConserving.

◆ col_mode

CollisionMode Sources::col_mode

Collision operator model.

◆ collisions

Source Sources::collisions

◆ current_drive

CurrentDrive Sources::current_drive

◆ diffusion

Diffusion Sources::diffusion

◆ f_source_period

int Sources::f_source_period

Frequency of f_sources.

◆ fgrid_coarse_graining

FGridCoarseGraining Sources::fgrid_coarse_graining

◆ heat_and_torque

Source Sources::heat_and_torque

◆ neutrals

Source Sources::neutrals

◆ pellet

Pellet Sources::pellet

◆ radiation

Radiation Sources::radiation

◆ step_trigger

StepTrigger Sources::step_trigger
private

◆ thermal_bath

ThermalBath Sources::thermal_bath

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