BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
ranlux_fort.c File Reference
#include "ranlxd.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

void rlxdinit_ (int *lux, int *seed)
void rlxdgetf_ (int *state)
void rlxdresetf_ (int *state1)
void rlxd_sizef_ (int *n)

Function Documentation

◆ rlxd_sizef_()

void rlxd_sizef_ ( int * n)

Definition at line 41 of file BesEvtGen/phokhara/PHOKHARA/ranlux_fort.c.

41 {
42 int n1;
43 n1 = rlxd_size();
44 *n = n1;
45 /* printf("n1= "); printf("%d\t",n1); */
46}
const Int_t n
int n1
Definition SD0Tag.cxx:58

◆ rlxdgetf_()

void rlxdgetf_ ( int * state)

Definition at line 25 of file BesEvtGen/phokhara/PHOKHARA/ranlux_fort.c.

25 {
26 int k;
27 rlxd_get( state );
28 /* printf("========\n");
29 for (k=0;k<=rlxd_size();k++)
30 {printf("%d\t",k); printf("%d\n",state[k]);}; */
31}
void rlxd_get(int state[])

◆ rlxdinit_()

void rlxdinit_ ( int * lux,
int * seed )

Definition at line 6 of file BesEvtGen/phokhara/PHOKHARA/ranlux_fort.c.

6 {
7 int lux1, seed1;
8 lux1 = *lux;
9 seed1 = *seed;
10 /* printf("%d\t",lux1);
11 printf("%d\n\n",seed1); */
12 rlxd_init( lux1, seed1 );
13}
void rlxd_init(int level, int seed)

◆ rlxdresetf_()

void rlxdresetf_ ( int * state1)

Definition at line 33 of file BesEvtGen/phokhara/PHOKHARA/ranlux_fort.c.

33 {
34 int k;
35 rlxd_reset( state1 );
36 /* printf("========\n");
37 for (k=0;k<=rlxd_size();k++)
38 {printf("%d\t",k); printf("%d\n",state1[k]);}; */
39}
void rlxd_reset(int state[])