EGS Brachy
An egs++ user code for rapid brachytherapy calculations
Loading...
Searching...
No Matches
Variables
eb_tests.iaea_types Namespace Reference

Variables

 IAEA_Float = ctypes.c_float
 
 PIAEA_Float = ctypes.POINTER(IAEA_Float)
 
 IAEA_I16 = ctypes.c_short
 
 PIAEA_I16 = ctypes.POINTER(IAEA_I16)
 
 IAEA_I32 = ctypes.c_int
 
 PIAEA_I32 = ctypes.POINTER(IAEA_I32)
 
 IAEA_I64 = ctypes.c_longlong
 
 PIAEA_I64 = ctypes.POINTER(IAEA_I64)
 
dict iaea_file_modes
 
int all_particles = -1
 
int photons = 1
 
int electrons = 2
 
int positrons = 3
 
int neutrons = 4
 
int protons = 5
 
dict particle_types
 
int max_sources = 30
 

Variable Documentation

◆ all_particles

int eb_tests.iaea_types.all_particles = -1

Definition at line 20 of file iaea_types.py.

◆ electrons

int eb_tests.iaea_types.electrons = 2

Definition at line 22 of file iaea_types.py.

◆ iaea_file_modes

dict eb_tests.iaea_types.iaea_file_modes
Initial value:
1= {
2 'r': IAEA_I32(1),
3 'w': IAEA_I32(2),
4 'a': IAEA_I32(3)
5}

Definition at line 14 of file iaea_types.py.

◆ IAEA_Float

eb_tests.iaea_types.IAEA_Float = ctypes.c_float

Definition at line 3 of file iaea_types.py.

◆ IAEA_I16

eb_tests.iaea_types.IAEA_I16 = ctypes.c_short

Definition at line 7 of file iaea_types.py.

◆ IAEA_I32

eb_tests.iaea_types.IAEA_I32 = ctypes.c_int

Definition at line 9 of file iaea_types.py.

◆ IAEA_I64

eb_tests.iaea_types.IAEA_I64 = ctypes.c_longlong

Definition at line 11 of file iaea_types.py.

◆ max_sources

int eb_tests.iaea_types.max_sources = 30

Definition at line 39 of file iaea_types.py.

◆ neutrons

int eb_tests.iaea_types.neutrons = 4

Definition at line 24 of file iaea_types.py.

◆ particle_types

dict eb_tests.iaea_types.particle_types
Initial value:
1= {
2 'all' : all_particles,
3 'photon' : photons,
4 'electron': electrons,
5 'positron': positrons,
6 'neutron' : neutrons,
7 'proton' : protons,
8 'charged' : (electrons,positrons,protons),
9 'neutral' : (photons,neutrons)
10}

Definition at line 27 of file iaea_types.py.

◆ photons

int eb_tests.iaea_types.photons = 1

Definition at line 21 of file iaea_types.py.

◆ PIAEA_Float

eb_tests.iaea_types.PIAEA_Float = ctypes.POINTER(IAEA_Float)

Definition at line 5 of file iaea_types.py.

◆ PIAEA_I16

eb_tests.iaea_types.PIAEA_I16 = ctypes.POINTER(IAEA_I16)

Definition at line 8 of file iaea_types.py.

◆ PIAEA_I32

eb_tests.iaea_types.PIAEA_I32 = ctypes.POINTER(IAEA_I32)

Definition at line 10 of file iaea_types.py.

◆ PIAEA_I64

eb_tests.iaea_types.PIAEA_I64 = ctypes.POINTER(IAEA_I64)

Definition at line 12 of file iaea_types.py.

◆ positrons

int eb_tests.iaea_types.positrons = 3

Definition at line 23 of file iaea_types.py.

◆ protons

int eb_tests.iaea_types.protons = 5

Definition at line 25 of file iaea_types.py.