EGSnrc C++ class library  Report PIRS-898 (2021)
Iwan Kawrakow, Ernesto Mainegra-Hing, Frederic Tessier, Reid Townson and Blake Walters
Public Attributes | List of all members
EGS_EtControl Struct Reference

A structure corresponding to the ET_control common block. More...

#include <egs_interface2.h>

Public Attributes

EGS_Float smaxir
 
EGS_Float smax_new
 
EGS_Float estepe
 
EGS_Float ximax
 
EGS_Float skindepth_for_bca
 
EGS_I32 transport_algorithm
 
EGS_I32 bca_algorithm
 
EGS_I32 exact_bca
 

Detailed Description

A structure corresponding to the ET_control common block.

The ET_control common block contains varibles that determine electron transport options.

Definition at line 288 of file egs_interface2.h.

Member Data Documentation

EGS_Float EGS_EtControl::smaxir

Maximum geometrical step-size restriction

Definition at line 290 of file egs_interface2.h.

Referenced by EGS_AdvancedApplication::helpInit().

EGS_Float EGS_EtControl::smax_new

smax restriction in the new region

Definition at line 292 of file egs_interface2.h.

Referenced by EGS_AdvancedApplication::helpInit().

EGS_Float EGS_EtControl::estepe

Maximum fractional energy loss per step

Definition at line 294 of file egs_interface2.h.

Referenced by EGS_AdvancedApplication::helpInit().

EGS_Float EGS_EtControl::ximax

Maximum first elastic moment per step

Definition at line 296 of file egs_interface2.h.

Referenced by EGS_AdvancedApplication::helpInit().

EGS_Float EGS_EtControl::skindepth_for_bca

Distance from a boundary in elastic MFP to switch to single scattering, if exact_bca is true, or to turn off lateral deflections, if exact_bca is false.

Definition at line 301 of file egs_interface2.h.

Referenced by EGS_AdvancedApplication::helpInit().

EGS_I32 EGS_EtControl::transport_algorithm

Condensed history transport algorithm (0 means EGSnrc default a.k.a. PRESTA-II, 1 means PRESTA-I)

Definition at line 304 of file egs_interface2.h.

Referenced by EGS_AdvancedApplication::helpInit().

EGS_I32 EGS_EtControl::bca_algorithm

Boundary crossing algorithm (0 = exact, 1 = BCA a la PRESTA-I)

Definition at line 306 of file egs_interface2.h.

Referenced by EGS_AdvancedApplication::helpInit().

EGS_I32 EGS_EtControl::exact_bca

Using exact boundary crossing ? Note that exact_bca is actually a variable of type logical. As all tested Fortran compilers make a 32 bit variable out of this, we declare it here as EGS_I32. I'm sure this will eventually be a hard to find bug if this changes...

Definition at line 312 of file egs_interface2.h.


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