Commit Graph

141 Commits

Author SHA1 Message Date
814413b6e1 1/k^3 scaling in adaptive RK 2023-06-07 21:02:27 -04:00
0fc5dce6ed SIGTERM 2023-05-26 17:37:51 -04:00
8d2af578fd Correct order of output for enstrophy 2023-05-17 18:02:03 -04:00
051cd84a29 RKDP54 2023-05-17 17:41:00 -04:00
dffa378084 Rename RKBS23 to RKBS32 2023-05-17 16:59:15 -04:00
5224b9052f RKF45: use fourth order instead of fifth 2023-05-17 16:58:13 -04:00
f57cc317ac RKF45: no not recompute k1 when decreasing step 2023-05-17 16:50:11 -04:00
d069e8c94e RKBS23 2023-05-17 16:47:15 -04:00
c9312c6d16 Adaptive methods: Do not shrink delta when increasing stepsize 2023-05-16 18:08:48 -04:00
dacd5c3651 Adaptive timestep: do nto change delta before all the printing 2023-05-16 17:03:58 -04:00
cf8cdfe12c Use a relative tolerance for adaptive step size 2023-05-16 16:49:50 -04:00
949b3897c4 exchange en*alpha and en 2023-05-16 00:07:38 -04:00
5ede4f1084 Fix running averages for adaptive step, and base print_freq and final_time on times 2023-05-16 00:00:18 -04:00
5db3680b31 RKF45 algorithm 2023-05-15 20:29:06 -04:00
315e9a98de Fix order of output in README 2023-05-15 17:08:50 -04:00
ad7410a190 Fix README 2023-05-10 19:37:48 -04:00
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