Commit Graph
91 Commits
Author SHA1 Message Date
Magnus Ulimoen ab02c8295f readd Maxwell solver 2020-01-28 22:16:10 +01:00
Magnus Ulimoen 037d1b3ff9 change structure of webfrontend 2020-01-28 22:02:37 +01:00
Magnus Ulimoen 38e9797ff7 move from lib to euler 2020-01-28 19:31:14 +01:00
Magnus Ulimoen e40ca4ba47 rename project 2020-01-27 21:20:34 +01:00
Magnus Ulimoen eda4eb4904 split benches 2020-01-27 21:00:44 +01:00
Magnus Ulimoen bc62e0f189 move bench 2020-01-27 20:57:25 +01:00
Magnus Ulimoen 3c834751e5 generalize advance 2020-01-27 20:52:46 +01:00
Magnus Ulimoen 9092ab4a32 remove bounds checks 2020-01-27 20:17:52 +01:00
Magnus Ulimoen 7fd69d0619 fix dt 2020-01-27 19:49:51 +01:00
Magnus Ulimoen 19c60fb4b6 add bench for euler 2020-01-26 16:46:57 +01:00
Magnus Ulimoen b700aeae94 working?? 2020-01-26 15:52:39 +01:00
Magnus Ulimoen 4673fbfbf7 checkpoint 2020-01-25 20:40:55 +01:00
Magnus Ulimoen 0646bdbee2 make System generic over SbpOperator 2019-12-17 20:43:10 +01:00
Magnus Ulimoen 231d218965 add the trad 8/upwind 9 operator 2019-12-15 17:49:41 +01:00
Magnus Ulimoen 03a4de5ab0 add the traditional 4 operator 2019-12-15 17:27:31 +01:00
Magnus Ulimoen a0c5a80106 components_mut correctness 2019-12-14 14:51:19 +01:00
Magnus Ulimoen 066c7619f7 move advance out of Fields 2019-12-14 13:59:20 +01:00
Magnus Ulimoen 946caf5e1b move init to root 2019-12-14 12:56:20 +01:00
Magnus Ulimoen bf7685e453 unneccesary bounds check 2019-12-14 01:32:50 +01:00
Magnus Ulimoen 195bbc3ef2 macrofy diff/diss operators 2019-12-14 01:29:07 +01:00
Magnus Ulimoen 3a919e9950 improve perf by removing bounds checks 2019-12-14 01:13:08 +01:00
Magnus Ulimoen 0106ba5fbd gather simd into diffxi 2019-12-14 00:45:21 +01:00
Magnus Ulimoen dd3e7cfb31 upwind operators 2019-12-13 19:45:00 +01:00
Magnus Ulimoen a26befec3a align block matrix 2019-12-12 20:40:02 +01:00
Magnus Ulimoen 285950a5c3 add boundary terms skeleton 2019-12-12 19:28:19 +01:00
Magnus Ulimoen 43dfc6f05f use iterators for SAT 2019-12-12 19:00:33 +01:00
Magnus Ulimoen f9b715378f split advance into subfunctions 2019-12-11 21:42:55 +01:00
Magnus Ulimoen d010d17a4a rewrite SAT computations 2019-12-11 21:18:59 +01:00
Magnus Ulimoen 868e2ba648 use 3d fields 2019-12-11 20:53:30 +01:00
Magnus Ulimoen 07e08c6236 move drawing to top of render loop 2019-12-11 19:32:03 +01:00
Magnus Ulimoen 7430e8793e arbitrary grids 2019-12-10 22:03:42 +01:00
Magnus Ulimoen 18969babb5 js linting 2019-12-10 19:33:23 +01:00
Magnus Ulimoen 5f22286402 changed to smooth rendering 2019-12-09 22:01:56 +01:00
Magnus Ulimoen 1ff9ffa7ba rename diffx/diffy 2019-12-08 21:00:47 +01:00
Magnus Ulimoen a0a125b61c javascript constructor 2019-12-08 20:55:47 +01:00
Magnus Ulimoen a473b78756 better bounds checks 2019-11-15 19:24:23 +01:00
Magnus Ulimoen 12dfc5fe81 fix nx/ny assertion 2019-11-14 19:21:54 +01:00
Magnus Ulimoen 1e7cbdc02f move test to bottom of file 2019-11-14 18:19:48 +01:00
Magnus Ulimoen 8b11cb74e4 avoid inlining hot functions 2019-11-14 18:18:50 +01:00
Magnus Ulimoen e0f3ed3fd8 assign instead of add_assign in diffx/diffy 2019-11-14 08:04:32 +01:00
Magnus Ulimoen 9bba3531cd advance twice as fast 2019-11-09 13:07:42 +01:00
Magnus Ulimoen bf9037e155 use simd for diffy 2019-11-09 12:58:14 +01:00
Magnus Ulimoen 6db06d108d test diffx/diffy by using diff 2019-11-09 10:05:13 +01:00
Magnus Ulimoen c30a463e83 use simd 2019-11-09 01:42:04 +01:00
Magnus Ulimoen 1bf4753e9a let minus be closer to block 2019-11-08 21:00:52 +01:00
Magnus Ulimoen bb6cca9004 fix assignment 2019-11-08 20:03:44 +01:00
Magnus Ulimoen 1f745745ca use iterators to remove bounds checks 2019-11-08 08:19:02 +01:00
Magnus Ulimoen a6bf554c60 remove bounds check with iterators 2019-11-08 07:56:33 +01:00
Magnus Ulimoen 56688efcdf change iteration of diffx/diffy 2019-11-07 21:05:03 +01:00
Magnus Ulimoen dd38c55232 clippy lints 2019-11-07 20:41:49 +01:00
Magnus Ulimoen 6058eae076 update dependencies 2019-11-07 20:36:03 +01:00
Magnus Ulimoen bb5d7b1e38 add benchmark 2019-09-09 19:35:23 +02:00
Magnus Ulimoen 8a8e2fefec rename to maxwell 2019-09-09 18:36:47 +02:00
Magnus Ulimoen 3513cc496a do EW/NS boundaries in same loop 2019-09-03 20:26:07 +02:00
Magnus Ulimoen 25f177b20e change cargo settings 2019-09-03 20:25:44 +02:00
Magnus Ulimoen 78ea65ebae fix clippy lints 2019-09-03 19:57:41 +02:00
Magnus Ulimoen 0ee91f7850 get h from SBPoperator 2019-09-03 19:44:54 +02:00
Magnus Ulimoen 895d503ad2 add SBP trait 2019-09-03 19:41:49 +02:00
Magnus Ulimoen 41b86029e8 change dt handling 2019-09-03 19:41:20 +02:00
Magnus Ulimoen fae2501b85 SAT in y direction 2019-09-03 18:17:00 +02:00
Magnus Ulimoen 627ea9496e SAT in x direction 2019-09-03 17:53:59 +02:00
Magnus Ulimoen c099d5d856 start SAT treatment 2019-09-03 16:16:07 +02:00
Magnus Ulimoen eda7942e82 change link to demo 2019-08-24 18:55:00 +02:00
Magnus Ulimoen a2185d8900 separate maxwell solver 2019-08-14 22:10:10 +02:00
Magnus Ulimoen 407877c2e6 move css and script tags 2019-08-14 22:10:10 +02:00
Magnus Ulimoen f9d8886fba improve plotting of fields 2019-08-09 21:34:39 +02:00
Magnus Ulimoen 43f1088d66 solve 2D maxwell 2019-08-09 21:00:15 +02:00
Magnus Ulimoen 6816d6bd43 draw both fields (with toggle) 2019-08-09 19:54:58 +02:00
Magnus Ulimoen ceee1463dd simplify RK logic 2019-08-09 18:58:05 +02:00
Magnus Ulimoen 3ab7e532c6 solve 1D maxwell (periodic) 2019-08-09 18:28:52 +02:00
Magnus Ulimoen 8d51e69607 add wasm to .gitignore 2019-08-09 18:28:52 +02:00
Magnus Ulimoen 8dc26ec8d8 move operators to separate file 2019-08-09 16:49:19 +02:00
Magnus Ulimoen 46d71b469d rename operators 2019-07-28 10:54:22 +02:00
Magnus Ulimoen b8237ed52a add readme 2019-07-27 21:17:08 +02:00
Magnus Ulimoen e516154d14 use wasm-opt if available 2019-07-22 22:33:05 +02:00
Magnus Ulimoen 5bd6d0d487 simplify drawing in js and add workbuffers 2019-07-22 21:45:45 +02:00
Magnus Ulimoen deafbeb415 move width/height from Universe 2019-07-22 18:10:50 +02:00
Magnus Ulimoen d52c461d6d add upwind dissipation advance() 2019-07-22 17:53:08 +02:00
Magnus Ulimoen 7a29871266 add upwind4 2019-07-21 21:13:54 +02:00
Magnus Ulimoen 5aa92c4040 use RK4 2019-07-21 19:27:30 +02:00
Magnus Ulimoen 79941a5b09 factor out diffx/diffy 2019-07-21 18:16:39 +02:00
Magnus Ulimoen 87ca45cbb8 wave equation with periodic BC 2019-07-21 15:47:01 +02:00
Magnus Ulimoen 4304c3e59d use ndarray 2019-07-21 13:32:20 +02:00
Magnus Ulimoen e16f136a59 pass float array views 2019-07-21 13:26:26 +02:00
Magnus Ulimoen 4b5b13452b remove memory leak 2019-07-19 21:42:05 +02:00
Magnus Ulimoen 9714088a38 animation of some function 2019-07-17 22:49:36 +02:00
Magnus Ulimoen c62e9fa15c include rust 2019-04-11 23:57:29 +02:00
Magnus Ulimoen 86b8c7f899 use stricter js 2019-04-07 22:13:13 +02:00
Magnus Ulimoen 40eb2d53c9 use sampler for texture 2019-03-28 20:21:52 +01:00
Magnus Ulimoen f1018f6874 add automatic resizing 2019-03-27 22:51:03 +01:00
Magnus Ulimoen 2c5f3cd282 attempt at webgl 2019-03-27 22:19:52 +01:00