Документ взят из кэша поисковой машины. Адрес оригинального документа : http://theory.sinp.msu.ru/comphep_html/tutorial/node61.html
Дата изменения: Wed Aug 9 20:40:47 2000
Дата индексирования: Mon Oct 1 22:50:27 2012
Кодировка:
Parameter section Process section C output files C output files Contents

Parameter section

const int nvar_ is a number of independent physical parameters involved in the evaluation of squared matrix element.
const int nfunc_ is a number of constrained parameters involved in the evaluation of squared matrix element.
int calcFunc(void) calculates all constrained parameters for current values of independent ones. It returns 0 in the case of success, otherwise 1.
int vinf_(int numvar, char *name, double *val) provides the information about parameters. Here the incoming parameter numvar is a parameter number. The outgoing parameters *name and *val are the parameter name and value, correspondingly. If *name or *val is NULL no assignment for the corresponding parameter will be done.

The parameter numbers in the range from 1 till nvar_ are reserved for independent parameters and the next nfunc_ numbers are used for constraints. Equal-to-zero numvar is associated with the center of mass energy. If the numvar value is out of this range, vinf_(..) returns 1.
int asgn_(int numvar, double valnew); assigns a new value valnew to the numvar parameter. It returns $0$ if $0 <= numvar <= nvar\_$, or $1$ otherwise.