ne_max=0;
ip_max=0;
+#ifdef MORE_PRINTF
+ printf("reading argv ...");
+#endif
+
for(i=1;i<argc;i++)
{
if(argv[i][0]=='-')
} else usage();
}
+#ifdef MORE_PRINTF
+ printf(" done\n");
+#endif
+
x=d3_l.max_x/2-1;
y=d3_l.max_y/2-1;
z=d3_l.max_z/2-1;
}
#endif
+#ifdef MORE_PRINTF
+ printf("rand init ...");
+#endif
+
if(!strcmp(r_file,"")) rand_init(NULL);
else rand_init(r_file);
+#ifdef MORE_PRINTF
+ printf(" done\n");
+ printf("allocating data ...");
+#endif
+
if(!strcmp(l_file,""))
{
i=d3_l.max_x*d3_l.max_y*d3_l.max_z;
convert_file(c_file,&d3_l);
puts("done");
return 1;
- }
+ }
#ifdef USE_DFB_API
else d3_lattice_init(&argc,argv,&d3_l);
#endif
}
+#ifdef MORE_PRINTF
+ printf(" done\n");
+#endif
+
#ifdef USE_DFB_API
d3_event_init(&d3_l);
#endif
arg_v[25]=NULL;
#endif
+#ifdef MORE_PRINTF
+ printf("random rejection graphs ...");
+#endif
+
/* compute graphs for random number rejection method */
if((c_profile=(u32 *)malloc(d3_l.max_z*sizeof(unsigned int)))==NULL)
{
return -1;
}
+#ifdef MORE_PRINTF
+ printf(" done\n");
+#endif
+
#ifdef DEBUG_RAND
i=0;
while(1)
}
#endif
+#ifdef MORE_PRINTF
+ printf("starting simulation ... now! :)\n");
+#endif
+
i=(c_step?c_step:0);
while((i<my_info.steps) && (quit==0) && (escape==0))
{