projects
/
physik
/
nlsop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
default values now in optimum, added rand debug defines
[physik/nlsop.git]
/
nlsop.c
diff --git
a/nlsop.c
b/nlsop.c
index
f030561
..
b8c9e28
100644
(file)
--- a/
nlsop.c
+++ b/
nlsop.c
@@
-1407,7
+1407,9
@@
int main(int argc,char **argv)
if(c_profile[d3_l.max_z-1]!=0)
{
printf("max_z (%d) too small - sputtering not possible\n",d3_l.max_z);
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;
return -1;
+ #endif
}
/* calculate ratio of c_simwindow / c_total */
//if(get_c_ratio(&c_ratio,p_file,&my_info,&d3_l)!=1)
}
/* calculate ratio of c_simwindow / c_total */
//if(get_c_ratio(&c_ratio,p_file,&my_info,&d3_l)!=1)
@@
-1432,6
+1434,9
@@
int main(int argc,char **argv)
#endif
#ifdef DEBUG_NORM
printf("%d\n",get_rand(d3_l.max_z));
#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++;
#endif
if(i==10000000) return 1;
i++;