Commit Graph

407 Commits

Author SHA1 Message Date
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