Print negative values of alpha
This commit is contained in:
parent
7675148e7d
commit
0404bd0cf0
@ -235,6 +235,12 @@ int enstrophy(
|
||||
prevtime=time;
|
||||
}
|
||||
|
||||
// print alpha when it gets negative
|
||||
if(alpha<0){
|
||||
fprintf(stderr,"## negative alpha: % .8e at time % .8e\n",alpha, time);
|
||||
printf("## negative alpha: % .15e at time % .15e\n",alpha, time);
|
||||
}
|
||||
|
||||
// get ready for next step
|
||||
step=next_step;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user