Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <ian.jauslin@rutgers.edu>2023-05-10 19:29:31 -0400
committerIan Jauslin <ian.jauslin@rutgers.edu>2023-05-10 19:29:31 -0400
commit7c007e93424df0f7c1dfdb9d0e9ffa4968dfb6de (patch)
tree4a68d6566cab2d18d0212f38984659cac595dd76 /src/navier-stokes.c
parente5a126f45a072cc1e1b533cfacc870863db763a5 (diff)
Use 'enstrophy' instead of energy, and print enstrophy*alpha
Diffstat (limited to 'src/navier-stokes.c')
-rw-r--r--src/navier-stokes.c6
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){