Commit Graph

381 Commits

Author SHA1 Message Date
Magnus Ulimoen b9212a4ec3 Add gresho vortex example 2021-07-05 21:51:08 +02:00
Magnus Ulimoen 6c6e11c1e3 Move input validation of expressions to evalexpr 2021-07-01 18:47:56 +02:00
Magnus Ulimoen 891cee3160 Move evalexpr down one level 2021-07-01 18:37:22 +02:00
Magnus Ulimoen c7eab96845 Fix forgotten GAMMA in benches 2021-07-01 18:23:32 +02:00
Magnus Ulimoen 912119d093 Add smooth periodic example 2021-06-30 20:33:22 +02:00
Magnus Ulimoen b64bace750 Move json config to separate file 2021-06-30 18:49:37 +02:00
Magnus Ulimoen 3ceeeb8ca1 Make GAMMA into a static 2021-06-30 18:20:44 +02:00
Magnus Ulimoen 94e49ff9b5 Simplify vortex using Evaluator trait 2021-06-30 17:35:05 +02:00
Magnus Ulimoen 92ad7bc580 Allow mutable contexts for evalexpr strings
These may be slow when used as boundary conditions, but produces results
consistent with the special "vortex" type for the example.
2021-06-29 23:12:48 +02:00
Magnus Ulimoen ea90bb8655 Add example using evalexpr 2021-06-29 21:34:59 +02:00
Magnus Ulimoen f6f70fe79a Fix bug with u,v->rhou,rhov conversion 2021-06-29 21:31:40 +02:00
Magnus Ulimoen 0878e75b8d Fixup test 2021-06-29 19:51:09 +02:00
Magnus Ulimoen 2bad8a1b71 Reenable error output 2021-06-29 19:45:20 +02:00
Magnus Ulimoen 1c884fe09d Add 100x100 grid config on single grid 2021-06-29 18:36:39 +02:00
Magnus Ulimoen 8873f458b4 useless conversion 2021-06-29 18:07:26 +02:00
Magnus Ulimoen b5360af6de Add Evaluator for defining IC/BC in json config 2021-06-29 17:55:19 +02:00
Magnus Ulimoen 300f6a34e5 Fix interactive eulerplot 2021-06-27 12:34:59 +02:00
Magnus Ulimoen 091076a9ad Neon supports fma 2021-04-18 23:20:08 +02:00
Magnus Ulimoen 2ee55de8c8 Split into components for subcomputation 2021-03-30 22:19:04 +02:00
Magnus Ulimoen 8051954c29 Update convergence test after trait rework 2021-03-30 19:09:11 +02:00
Magnus Ulimoen 5f7d38dd55 Introduce Diff type for euler 2021-03-30 18:46:28 +02:00
Magnus Ulimoen 27abaebc2c Move vortex stuff to separate file 2021-03-30 18:29:23 +02:00
Magnus Ulimoen 57c897ec94 Upgrade arrayvec to use const-generics 2021-03-27 11:46:02 +01:00
Magnus Ulimoen 22a3464326 Add euler iterators 2021-03-26 19:40:04 +01:00
Magnus Ulimoen 9e2ce3ae24 Add Metrics iterator 2021-03-26 16:27:45 +01:00
Magnus Ulimoen 75338698a4 Conditionally use fma 2021-03-26 15:57:15 +01:00
Magnus Ulimoen 7ab6f311c1 Replace hypot with cheaper impl 2021-03-26 15:52:55 +01:00
Magnus Ulimoen 52c21dbbe9 Add boolean for switching serial/parallel execution 2021-03-26 00:00:42 +01:00
Magnus Ulimoen a33e1d37ba Document what compiler is doing for diffxi 2021-03-25 22:39:00 +01:00
Magnus Ulimoen 76f5291131 Elide bounds check in diffxi
array_windows.skip did not elide bounds checks as it should. If
the slice is instead offset by the skipped amount, we have the
same behavour, but aids the compiler enough.
The two changed lines allows SIMD optimisations, giving an
impressive reduction in instructions by two thirds in the
benchmark.
2021-03-25 17:23:01 +01:00
Magnus Ulimoen a81ba0365d Use core over std in no_std dep 2021-03-25 17:18:25 +01:00
Magnus Ulimoen 9b5192b357 Add documentation for utilities 2021-03-23 19:37:27 +01:00
Magnus Ulimoen ce2e8f17ec Move FastFloat to separate crate (archival) 2021-03-23 19:36:44 +01:00
Magnus Ulimoen 4ae5c02bb1 Replace FastFloat with mul_add 2021-03-23 19:21:38 +01:00
Magnus Ulimoen df05c06270 Add no_std and forbid(unsafe) in utils 2021-03-23 19:12:09 +01:00
Magnus Ulimoen 00fcdf1031 Replace StructOpt with argh for comp.time+space 2021-03-22 20:56:16 +01:00
Magnus Ulimoen ff9a477b67 Remove non-global Threadpool 2021-03-22 19:28:01 +01:00
Magnus Ulimoen 7aadda3de9 Move integrate to separate crate 2021-03-22 17:49:35 +01:00
Magnus Ulimoen be1330ec02 Add constrmatrix as separate crate 2021-03-22 16:24:32 +01:00
Magnus Ulimoen 502679c9a1 Move Float to separate crate 2021-03-22 16:17:27 +01:00
Magnus Ulimoen be984fbdac Bump sprs to 0.10 2021-03-18 23:27:03 +01:00
Magnus Ulimoen 550b43b4cd Bump ndarray 2021-03-16 19:03:35 +01:00
Magnus Ulimoen f098981d3e Update email 2021-03-16 19:00:24 +01:00
Magnus Ulimoen 8383517ba3 ensure slice can be cast to Matrix 2021-03-15 20:18:19 +01:00
Magnus Ulimoen 17ab18e953 zero-pad diffxi kernel 2021-03-15 20:07:41 +01:00
Magnus Ulimoen e43e71a4d8 Make flip_XX impl on Matrix 2021-03-15 19:31:41 +01:00
Magnus Ulimoen 6fc045ae17 Replace transmute with cast 2021-02-12 19:02:13 +01:00
Magnus Ulimoen 5d59a51bbe Add option to output information in JSON 2021-02-12 18:28:30 +01:00
Magnus Ulimoen 743cca00e2 Revert hdf5 patch (TODO: add back info here) 2021-02-12 18:09:15 +01:00
Magnus Ulimoen 78f0c9ed2c Update json5 crate to include location errors 2021-02-12 18:08:10 +01:00