Commit Graph

167 Commits

Author SHA1 Message Date
Magnus Ulimoen 8d90d8106d add benches for sparse matrix multiplication 2020-08-31 22:58:46 +02:00
Magnus Ulimoen 0c8b02b466 add short README 2020-08-31 21:05:05 +02:00
Magnus Ulimoen 311bd6de12 Use min_specialisation 2020-08-24 18:08:58 +02:00
Magnus Ulimoen 8676665c75 Downgrade sprs (rayon non-optional) 2020-08-22 10:51:13 +02:00
Magnus Ulimoen 883a37fb16 Rename outer -> kronecker product 2020-08-22 10:38:55 +02:00
Magnus Ulimoen feeb254468 Improve the performance of the outer product 2020-08-21 23:58:07 +02:00
Magnus Ulimoen d00e7b3fb1 Update sprs in sbp too 2020-08-21 15:54:05 +02:00
Magnus Ulimoen ad6564eeb1 sparse upwind operators 2020-06-15 22:01:42 +02:00
Magnus Ulimoen 459581a3c9 brainderp 2020-06-15 21:21:00 +02:00
Magnus Ulimoen d3e1005be8 str_strip stabilized 2020-06-14 21:53:18 +02:00
Magnus Ulimoen e2a3bed1ff add sparse matrix creating to all diff ops 2020-06-14 21:52:25 +02:00
Magnus Ulimoen 4f772b8dc5 first untested sparse implementation 2020-06-12 21:04:18 +02:00
Magnus Ulimoen d7a7b8563b simplify product implementation 2020-05-14 19:39:19 +02:00
Magnus Ulimoen 5b0ab0d1ce unroll product loop 2020-05-04 20:04:31 +02:00
Magnus Ulimoen a1acf00c5a split euler and maxwell to separate crates 2020-05-02 00:22:59 +02:00
Magnus Ulimoen 52bd4f3f8f simdify blocks in diff_op_col 2020-05-01 19:08:55 +02:00
Magnus Ulimoen cbf6042055 use raw pointer in simd code 2020-05-01 18:21:14 +02:00
Magnus Ulimoen 29db6b73df readd diff_op naive 2020-05-01 17:44:33 +02:00
Magnus Ulimoen 78da9baaea name booleans 2020-05-01 00:09:46 +02:00
Magnus Ulimoen 177a6abd99 use generalised diff_op_row for Upwind4 2020-04-30 23:37:51 +02:00
Magnus Ulimoen c4848ffd1a simdify diff_op_col 2020-04-29 23:06:19 +02:00
Magnus Ulimoen cc5399a940 diff_op_col as function factory 2020-04-29 19:59:48 +02:00
Magnus Ulimoen ff2a141505 diff_op_row as function factory 2020-04-29 19:52:55 +02:00
Magnus Ulimoen 1ee8dc5e9a keep tests up to date 2020-04-23 17:49:31 +02:00
Magnus Ulimoen 650f7f204a special case first vortice 2020-04-23 00:08:28 +02:00
Magnus Ulimoen db6f7ef41f allow several vortices 2020-04-22 23:59:06 +02:00
Magnus Ulimoen d60770dcbf clippy lints 2020-04-22 22:29:26 +02:00
Magnus Ulimoen 35c4b25be3 move boundary extraction into parallel section 2020-04-22 22:22:19 +02:00
Magnus Ulimoen dd7edd46d5 deduplify bt extraction 2020-04-22 22:16:34 +02:00
Magnus Ulimoen 6fe4e1460f upgrade ndarray 2020-04-22 17:59:13 +02:00
Magnus Ulimoen 1718053508 remove trailing zeros in blocks 2020-04-22 17:48:15 +02:00
Magnus Ulimoen c6e467bc2d add col-wise specialisation 2020-04-22 00:32:49 +02:00
Magnus Ulimoen cdd25b1750 add row-wise specialisation 2020-04-21 23:19:02 +02:00
Magnus Ulimoen 5bf066c2e2 diff_op_1d signature change 2020-04-21 22:15:47 +02:00
Magnus Ulimoen c36dcc4e6d add sbp xi/eta benches 2020-04-20 21:33:54 +02:00
Magnus Ulimoen 5003c0d55c adaptive integration option 2020-04-19 20:45:06 +02:00
Magnus Ulimoen ed0f0e4a20 add tsection type interfaces
This interface combines grids which do not have clean interfaces.

The type of interface has not been tested or verified here.
2020-04-19 18:49:43 +02:00
Magnus Ulimoen 74c6e41ea0 tighten interpolation bounds 2020-04-16 21:35:59 +02:00
Magnus Ulimoen cfff49107c simplify integrate function 2020-04-16 20:40:22 +02:00
Magnus Ulimoen 41935728e1 change json format 2020-04-15 23:58:39 +02:00
Magnus Ulimoen ec9dc79704 move json parsing to multigrid 2020-04-15 20:18:51 +02:00
Magnus Ulimoen 02cac56fb5 move direction 2020-04-15 20:14:44 +02:00
Magnus Ulimoen 9023adf01f use Direction struct 2020-04-15 19:22:10 +02:00
Magnus Ulimoen 655d76f47d use dynamic dispatch 2020-04-15 17:47:17 +02:00
Magnus Ulimoen 5068a6123c add dyn cast to sbp 2020-04-15 17:36:45 +02:00
Magnus Ulimoen d089df6d54 change trait signaturs 2020-04-15 17:17:48 +02:00
Magnus Ulimoen 6df4632719 add back specialization 2020-04-15 00:37:46 +02:00
Magnus Ulimoen 1667eaaca0 change sbp operators for dimensionality 2020-04-15 00:12:54 +02:00
Magnus Ulimoen 85f3c46430 SbpOperator takes &self 2020-04-14 21:59:02 +02:00
Magnus Ulimoen 3c54398e41 change restriction on h2 grid interpolation 2020-04-13 23:02:47 +02:00
Magnus Ulimoen 98c5998657 add more interpolation ops 2020-04-13 22:56:43 +02:00
Magnus Ulimoen f3ba234b28 add upwind9h2 2020-04-13 22:08:47 +02:00
Magnus Ulimoen 9cfd54253f change trait signature for interpolation 2020-04-13 20:56:29 +02:00
Magnus Ulimoen 2adf91e1ce relax Fn bound on integrate functions 2020-04-13 18:39:21 +02:00
Magnus Ulimoen 967e4b9e48 allow multi operator for euler solvers 2020-04-13 01:07:46 +02:00
Magnus Ulimoen 9c917abb16 introduce two diff SBP operators on same domain 2020-04-13 00:56:53 +02:00
Magnus Ulimoen a58892044d bugfix h2linspace 2020-04-13 00:23:55 +02:00
Magnus Ulimoen cde8755c15 allow selection of operators 2020-04-13 00:08:02 +02:00
Magnus Ulimoen 0f1f115fc3 change to WB 2020-04-12 21:32:20 +02:00
Magnus Ulimoen 3e7b45b3be fix clippy lints 2020-04-12 20:44:52 +02:00
Magnus Ulimoen 90f72847fb add h2 operator 2020-04-12 19:27:18 +02:00
Magnus Ulimoen a9e4a7e0cc change macro to inlined func 2020-04-12 17:42:18 +02:00
Magnus Ulimoen 59c8509a98 add multigrid_integrate to sbp crate 2020-04-12 12:46:53 +02:00
Magnus Ulimoen ff6a179d92 move multigrid example 2020-04-12 12:43:14 +02:00
Magnus Ulimoen 9bf2a1513c use explicit integration routine 2020-04-11 19:56:44 +02:00
Magnus Ulimoen 596605a8b7 add more integration schemes 2020-04-11 19:44:40 +02:00
Magnus Ulimoen 29499c0c0c interpolation operators 2020-04-11 15:19:34 +02:00
Magnus Ulimoen 3d22a009d3 generalise RK4 integration 2020-04-10 17:36:01 +02:00
Magnus Ulimoen e7e40c759b move boundaryextractor 2020-04-10 12:30:18 +02:00
Magnus Ulimoen 032c1d9436 allow long+short options for output 2020-04-10 11:53:37 +02:00
Magnus Ulimoen 147f3040c3 divide instead of multiply h 2020-04-10 01:07:57 +02:00
Magnus Ulimoen a51ee210fe move eulerplot 2020-04-09 14:36:32 +02:00
Magnus Ulimoen 17edb14899 reformat SAT 2020-04-09 13:31:11 +02:00
Magnus Ulimoen 5f7bd70d1b fix boundary term allocation 2020-04-08 23:50:10 +02:00
Magnus Ulimoen fe2c7f1253 simplify macro invocation 2020-04-08 23:22:03 +02:00
Magnus Ulimoen c3a40d81ee use default trait methods 2020-04-08 23:07:14 +02:00
Magnus Ulimoen 60f9a89e65 add option to compute error at end of run 2020-04-08 20:26:19 +02:00
Magnus Ulimoen d174ac4854 add timing option 2020-04-08 20:04:12 +02:00
Magnus Ulimoen e395c9c740 eulerplot slider 2020-04-08 19:25:44 +02:00
Magnus Ulimoen b2eb79e71d remove error plotting 2020-04-08 18:06:50 +02:00
Magnus Ulimoen d5b5b9f02e output more regularly 2020-04-08 00:35:26 +02:00
Magnus Ulimoen 946ca02663 abstract io thread 2020-04-07 22:54:00 +02:00
Magnus Ulimoen 27c3bbe716 remove non-thread multigrid and sep. thread for io 2020-04-07 22:26:43 +02:00
Magnus Ulimoen d23341c0f5 remove legacy output format 2020-04-07 20:35:00 +02:00
Magnus Ulimoen d3465d5e1e abstract over hdf5::File 2020-04-06 23:12:17 +02:00
Magnus Ulimoen 13abdefe57 move bar creation 2020-04-06 23:12:17 +02:00
Magnus Ulimoen 50ddf0acce extract extract_boundaries 2020-04-06 22:32:36 +02:00
Magnus Ulimoen d76687d199 env interpreter fix 2020-04-06 22:13:24 +02:00
Magnus Ulimoen de03fb6889 add vortex bc 2020-04-06 22:11:35 +02:00
Magnus Ulimoen 85a8c92cd5 update dependencies 2020-04-04 23:39:41 +02:00
Magnus Ulimoen 52549d1fdd move multigrid example 2020-04-04 22:57:34 +02:00
Magnus Ulimoen 31f019e74c support f32 feature 2020-04-04 22:33:33 +02:00
Magnus Ulimoen c17ef20c76 add hdf5 output option 2020-04-04 22:28:20 +02:00
Magnus Ulimoen 358f831513 separate metrics and grid 2020-04-04 22:28:19 +02:00
Magnus Ulimoen 6b94990015 modify jobs option 2020-04-03 22:30:30 +02:00
Magnus Ulimoen 97bdf7b0a5 simple rayon parallelisation 2020-04-02 23:36:20 +02:00
Magnus Ulimoen a31ca3ff3e json parse vortex parameters 2020-04-02 22:49:27 +02:00
Magnus Ulimoen 18ebbfde75 add progressbar 2020-04-02 22:32:07 +02:00
Magnus Ulimoen d80a9bfa6d read config from json 2020-04-02 21:36:56 +02:00
Magnus Ulimoen c1895a6c33 temp plotter 2020-04-01 22:37:01 +02:00