if(c_profile[d3_l.max_z-1]!=0)
{
printf("max_z (%d) too small - sputtering not possible\n",d3_l.max_z);
+ #ifndef DEBUG_RAND
return -1;
+ #endif
}
/* calculate ratio of c_simwindow / c_total */
//if(get_c_ratio(&c_ratio,p_file,&my_info,&d3_l)!=1)
#endif
#ifdef DEBUG_NORM
printf("%d\n",get_rand(d3_l.max_z));
+#endif
+#ifdef DEBUG_LINEAR
+ printf("%d\n",get_rand_lgp(d3_l.max_z,1,0));
#endif
if(i==10000000) return 1;
i++;