projects
/
physik
/
nlsop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rearranged printfs
[physik/nlsop.git]
/
nlsop.c
diff --git
a/nlsop.c
b/nlsop.c
index
ca83572
..
2bec6ec
100644
(file)
--- a/
nlsop.c
+++ b/
nlsop.c
@@
-1442,6
+1442,9
@@
int main(int argc,char **argv)
i=(c_step?c_step:0);
while((i<my_info.steps) && (quit==0) && (escape==0))
{
i=(c_step?c_step:0);
while((i<my_info.steps) && (quit==0) && (escape==0))
{
+#ifdef MORE_PRINTF
+ if(i%refresh==0) printf("step: %d\n",i);
+#endif
for(j=0;j<my_info.cpi;j++)
{
x_c=get_rand(d3_l.max_x);
for(j=0;j<my_info.cpi;j++)
{
x_c=get_rand(d3_l.max_x);
@@
-1462,9
+1465,6
@@
int main(int argc,char **argv)
sprintf(cc_txt,"total c: %d",my_info.cc);
d3_lattice_draw(&d3_l,x,y,z,25,arg_v,mode,0,NULL,0,NULL,0);
}
sprintf(cc_txt,"total c: %d",my_info.cc);
d3_lattice_draw(&d3_l,x,y,z,25,arg_v,mode,0,NULL,0,NULL,0);
}
-#endif
-#ifdef MORE_PRINTF
- if(i%refresh==0) printf("step: %d\n",i);
#endif
if(i%resave==0 && strcmp(s_file,"") && resave!=0 && i!=0)
{
#endif
if(i%resave==0 && strcmp(s_file,"") && resave!=0 && i!=0)
{