Numerical calculation by CompHEP
In the framework of CompHEP package there are four ways to
realize numerical calculations, namely using:
- 1)
- built-in interpreter
- 2)
- compiled C output
- 3)
- compiled double precision (REAL*8) Fortran output
- 4)
- compiled quadruple precision (REAL*16) Fortran output.
For the first two items calculations are performed
with a double precision. The interpreter works
slower compared with the stand-alone compiled executables, but it
does not need such steps as the storage and compilation of symbolic
output. So it is reasonable to use the interpreter either in the case of
simple process or if you have no compiler at all.
The general functionality scheme is the same for all four cases.
The main differences are:
- -
- for the first two items the user interface is more comfortable
because it is based on graphic terminal facilities;
- -
- results of calculation produced by the interpreter are
displayed on the screen only, whereas in other cases they are stored onto a
disk either;
- -
- batch calculations (set of evaluations launched by one
job task) are not available for the interpreter;
- -
- for the current version only Fortran programs provide
the user with a possibility to generate an event flow.
The interpreter is launched from within the symbolic
session.
Compiled programs can be created and started under the symbolic session
(see Menu 7 in Fig.)
or created by means of Section
commands and
launched as an independent process.
Subsections