Commit Graph

125 Commits

Author SHA1 Message Date
d2c589cae4 License 2023-05-10 19:33:29 -04:00
6c10f80695 README 2023-05-10 19:29:49 -04:00
7c007e9342 Use 'enstrophy' instead of energy, and print enstrophy*alpha 2023-05-10 19:29:31 -04:00
e5a126f45a Replace energy with energy*alpha 2023-05-08 15:04:00 -04:00
0b6fe9bd6b Minor bug in nsteps for resumption 2023-04-27 10:03:58 -04:00
4436866d2f Write resume command even when computation concludes 2023-04-26 17:20:38 -04:00
a94c066014 Avoid segfaults for empty param string 2023-04-26 17:15:58 -04:00
aa8825d9d8 parameters to choose rk2 2023-04-26 11:27:03 -04:00
527365d62e Implement RK2 2023-04-26 11:13:50 -04:00
f7a7a5866c Only use kx>=0 in computation of alpha, energy and enstrophy 2023-04-25 18:16:28 -04:00
d838060265 Remove terms with kx=0 and ky<=0 2023-04-25 18:08:45 -04:00
519bb72726 running average in statistics file 2023-04-25 16:58:45 -04:00
b35be9ea88 Allow driving to be specified by file 2023-04-24 12:22:29 -04:00
2b1b66f8f1 Rename read_u/write_u to read_vec/write_vec 2023-04-24 12:12:20 -04:00
23e61c143a New option for init: file_txt for plain txt input 2023-04-24 12:06:35 -04:00
cbcb39ff19 Remove term that sums up to 0 from alpha 2023-04-22 15:04:02 -04:00
5d0a1bcc6f Do not enforce symmetry on T: only the k>0 matter anyways 2023-04-22 15:01:31 -04:00
731244a83d Only use T term in alpha for ns_step computation 2023-04-21 17:36:17 -04:00
a53aec9b22 Revert "Remove term from alpha that is equal to 0 anyways"
This reverts commit bc05a28b30.
2023-04-21 17:31:16 -04:00
bc05a28b30 Remove term from alpha that is equal to 0 anyways 2023-04-21 12:25:45 -04:00
063dae642a handle nsteps=0 in savefile 2023-04-18 00:48:54 -04:00
41945b8e35 nsteps=0 for run forever 2023-04-17 14:45:21 -04:00
2be9a3f6a5 Switch times to uint64_t 2023-04-16 00:21:42 -04:00
028a11cfd8 Remove avg_window option: always use print_freq 2023-04-14 15:36:49 -04:00
3f6e6ef423 Fix memory issue 2023-04-14 15:12:07 -04:00
d5d5c15b7e binary io 2023-04-14 15:01:52 -04:00
c00c311528 Write restart command to savefile 2023-04-12 19:05:01 -04:00
0b0894839d Move driving and init to parameter string 2023-04-12 18:22:40 -04:00
80c79f79c7 Spaces in write_u 2023-04-12 15:24:27 -04:00
8bb80c0b0f Handle SIGINT 2023-04-12 15:23:35 -04:00
59100a471f Running average 2023-04-12 14:37:02 -04:00
d16c42d9f5 Only store u[kx,ky] with kx>=0 2023-04-11 18:45:45 -04:00
bca217e698 Remove extraneous directory in doc 2023-04-11 17:08:06 -04:00
d096cbb100 remove julia 2023-04-06 11:29:01 -04:00
184b46f756 Enforce reality directly in RK 2023-04-06 11:28:18 -04:00
1616b6bbae Fix initial enstrophy 2023-04-05 22:41:19 -04:00
0bf223bcb9 Reversible equation 2023-04-05 20:33:38 -04:00
75de7e03b7 Reality in doc 2023-03-31 16:58:52 -04:00
2958cc0313 Enforce T(u,-k)=T(u,k)^* in ns_T 2023-03-31 15:56:50 -04:00
d69f386547 Doc: reversible equation 2023-03-31 15:40:15 -04:00
5ce414db85 update print_usage 2022-05-27 17:08:05 -04:00
6113c85189 New parameter: starting_time 2022-05-27 17:06:38 -04:00
0cdb914b57 savefile and initfile 2022-05-27 16:09:17 -04:00
6b96c2d946 Replace energy command with eea 2022-05-27 14:31:19 -04:00
f9d9d48154 Remove avg from energy 2022-05-27 00:38:05 -04:00
c62ce07579 Compute energy, enstrophy and alpha all at once 2022-05-26 21:26:13 -04:00
777a51be49 Average energy 2022-05-26 21:11:56 -04:00
77043e249c Make N be the smallest power of 2 larger than 3*K+1 2022-05-26 21:06:09 -04:00
480ce57afa Fix denomination: enstrophy -> alpha 2022-05-26 18:44:28 -04:00
aa66aadb74 Driving force as vector instead of function 2022-05-26 15:16:44 -04:00