Commit Graph

114 Commits

Author SHA1 Message Date
209ba06cbf memory fix 2023-11-03 17:41:30 -04:00
16c80d2305 strlen in dstrings.c 2023-11-03 16:48:18 -04:00
f9aac70796 dstring in read_args_from_file 2023-11-03 16:45:51 -04:00
9d232a8fca dstrings in read_params 2023-11-03 16:42:27 -04:00
04a15dd2c7 Replace argv strings with dstrings 2023-11-03 16:04:53 -04:00
dd9bd74c83 dynamic strings 2023-11-03 12:25:02 -04:00
3d94694017 Resume command
Not functional yet: need to deal with memory of argv
2023-11-03 12:08:25 -04:00
3efdbf4451 Abort on nan 2023-10-10 10:43:24 -04:00
1ecb4bbe70 Python script to convert bin to txt and back 2023-09-26 13:01:00 -04:00
f68c179038 Error in enstrophy norm for rkf45 and rkbs32 2023-09-19 11:53:34 -04:00
d986f86243 Fix: no power 1/3 in enstrophy norm 2023-09-19 11:51:55 -04:00
7a0eb20452 Typo in doc 2023-09-17 23:37:14 +02:00
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