From 7c007e93424df0f7c1dfdb9d0e9ffa4968dfb6de Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Wed, 10 May 2023 19:29:31 -0400 Subject: Use 'enstrophy' instead of energy, and print enstrophy*alpha --- src/navier-stokes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/navier-stokes.c') 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){ -- cgit v1.2.3-54-g00ecf