Layers of Code in PREACT
Inner Layer:
- legacy Fortran-77 code (minor modifications made)
- initializes reaction cross section database
- computes table and does interpolation
-
Middle Layer:
- defines 3 classes of reaction objects (charge exchange, ionization, fusion)
- specifies member objects of each class (e.g. H->H impact ionization)
- determines which Fortran-77 routines compute <sigma*v> for a given reaction object