Only print every 1000 terms

This commit is contained in:
Ian Jauslin 2018-02-18 22:38:27 +00:00
parent cff1d2ee3c
commit b845911397

View File

@ -260,7 +260,7 @@ int enstrophy(ns_params params, unsigned int Nsteps){
avg=avg-(avg-alpha)/t;
}
if(t>0 && t%1==0){
if(t>0 && t%1000==0){
fprintf(stderr,"%8d % .8e % .8e % .8e % .8e\n",t, __real__ avg, __imag__ avg, __real__ alpha, __imag__ alpha);
printf("%8d % .8e % .8e % .8e % .8e\n",t, __real__ avg, __imag__ avg, __real__ alpha, __imag__ alpha);
}