diff options
Diffstat (limited to 'src/navier-stokes.c')
-rw-r--r-- | src/navier-stokes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/navier-stokes.c b/src/navier-stokes.c index 39f0fad..fa4be10 100644 --- a/src/navier-stokes.c +++ b/src/navier-stokes.c @@ -84,8 +84,8 @@ int uk( return(0); } -// compute energy, enstrophy, alpha as a function of time in the I-NS equation -int eea( +// compute enstrophy, alpha as a function of time +int enstrophy( int K1, int K2, int N1, @@ -179,7 +179,7 @@ int eea( fprintf(savefile," -p \"%s;starting_time=%lu;nsteps=%lu;init=file:%s\"", params, t+1, (nsteps+starting_time < t+1 ? 0 : nsteps+starting_time-t-1), savefile_string); free(params); } - fprintf(savefile," energy\n"); + fprintf(savefile," enstrophy\n"); // save final u to savefile if(savefile==stderr || savefile==stdout){ |