BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Phokhara/Phokhara-00-01-00/src/ranlux_fort.c
Go to the documentation of this file.
1#include <stdlib.h>
2#include <stdio.h>
3#include <math.h>
4#include "ranlxd.h"
5
6int rlxdinit_(int *lux,int *seed)
7{ int lux1,seed1;
8 lux1=*lux;seed1=*seed;
9/* printf("%d\t",lux1);
10 printf("%d\n\n",seed1); */
11 rlxd_init(lux1,seed1);
12}
13
14int ranlxdf_(double vec[],int *lvec)
15{ int lvec1,k;
16 lvec1=*lvec;
17 /* printf("\n%d\n",lvec1); */
18 ranlxd(vec,lvec1);
19 /* for (k=0;k<lvec1;k++)
20 { printf("%d\t",k); printf("%12.9f\n",vec[k]); } */
21}
22
23int rlxdgetf_(int *state)
24{ int k;
25rlxd_get(state);
26/* printf("========\n");
27 for (k=0;k<=rlxd_size();k++)
28 {printf("%d\t",k); printf("%d\n",state[k]);}; */
29}
30
31 int rlxdresetf_(int *state1)
32{ int k;
33rlxd_reset(state1);
34/* printf("========\n");
35 for (k=0;k<=rlxd_size();k++)
36 {printf("%d\t",k); printf("%d\n",state1[k]);}; */
37}
38
39 int rlxd_sizef_(int *n)
40{ int n1;
41 n1=rlxd_size();
42 *n=n1;
43/* printf("n1= "); printf("%d\t",n1); */
44}
const Int_t n
int rlxdresetf_(int *state1)
int ranlxdf_(double vec[], int *lvec)
int rlxdinit_(int *lux, int *seed)
int n1
Definition SD0Tag.cxx:54