Commit Graph

102 Commits

Author SHA1 Message Date
60e04ac681 keep_en_cst 2023-06-29 16:58:33 -04:00
9c3ad2c400 Bug with computing averages 2023-06-20 11:07:35 -04:00
870196ec07 Save utfile and nthreads to savefile 2023-06-14 14:28:03 -04:00
6066309fa3 nthreads in README 2023-06-14 14:20:07 -04:00
7ab59aca48 utfile 2023-06-14 14:19:27 -04:00
d15f58b61e Remove unnecessary includes 2023-06-14 12:42:02 -04:00
aeec3ff17b max_delta and adaptive norm in rkf45 and rkbs32 2023-06-14 00:14:17 -04:00
251426aaaa Select norm in parameter 2023-06-13 23:56:35 -04:00
3b58896e3b Proper normalization for enstrophy norm 2023-06-13 19:01:37 -04:00
34b7a0c277 delta_max and fix cabs2 2023-06-13 18:45:19 -04:00
4ffbe1e978 Use the enstrophy-norm in rkdp54 2023-06-13 17:30:51 -04:00
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