Commit Graph

57 Commits

Author SHA1 Message Date
Magnus Ulimoen 481f2d607e remove a lot of unsafe, lost perf 2021-02-02 00:12:02 +01:00
Magnus Ulimoen 00f3ba6a01 use split_at_mut 2021-02-02 00:12:02 +01:00
Magnus Ulimoen db94caf2b2 change repr of Matrix 2021-02-02 00:12:02 +01:00
Magnus Ulimoen c133557459 use Matrix in SBP diff 2021-02-02 00:12:02 +01:00
Magnus Ulimoen 3c7cc4605a simplify traits 2021-02-02 00:12:02 +01:00
Magnus Ulimoen f7c238f6a7 add blockend SBP8 2021-02-02 00:12:02 +01:00
Magnus Ulimoen a7660281c8 add inline to remove magic fix 2021-02-02 00:12:02 +01:00
Magnus Ulimoen 14fefe97ab add Matrix approach for SBP8 2021-02-02 00:12:02 +01:00
Magnus Ulimoen 3d34f2e7a0 add fast-float feature 2021-02-02 00:12:02 +01:00
Magnus Ulimoen 4c2daf5933 minor thingys 2021-02-02 00:12:02 +01:00
Magnus Ulimoen db552af4ff add blockend with weird caveat 2021-02-02 00:12:02 +01:00
Magnus Ulimoen bcda26a512 15% reductions in instr count 2021-02-02 00:12:02 +01:00
Magnus Ulimoen 36293e75e6 10% instr reduction with fast_ intr 2021-02-02 00:12:02 +01:00
Magnus Ulimoen 30c563c19d working d1 SBP4 2021-02-02 00:12:02 +01:00
Magnus Ulimoen 94e8fb5b7c checkpoint 2021-02-02 00:12:02 +01:00
Magnus Ulimoen c104082ac0 add matrix type 2021-02-02 00:12:02 +01:00
Magnus Ulimoen 1069bad145 bugfix sparse algo visibility 2021-01-25 20:53:56 +01:00
Magnus Ulimoen 5de82f393b move algos to separate file 2021-01-18 22:37:24 +01:00
Magnus Ulimoen 1f15bcc056 revisit SBP Traits 2021-01-17 15:37:45 +01:00
Magnus Ulimoen 6f3a810cd3 add upwind/d2 to SbpOperators1d trait 2021-01-14 22:53:36 +01:00
Magnus Ulimoen 67f097cf31 Add matrix approach to heat equation 2020-09-19 14:00:18 +02:00
Magnus Ulimoen b80ca3f5e8 Add D2 operator and heat equation 2020-09-18 17:58:37 +02:00
Magnus Ulimoen d1151bbe3f Fix fallback bug 2020-09-04 17:35:30 +02:00
Magnus Ulimoen f90618be42 use diff_op_col as fallback for Upwind4 2020-09-01 17:26:27 +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 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 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 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 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 74c6e41ea0 tighten interpolation bounds 2020-04-16 21:35:59 +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 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 29499c0c0c interpolation operators 2020-04-11 15:19:34 +02:00
Magnus Ulimoen fe2c7f1253 simplify macro invocation 2020-04-08 23:22:03 +02:00