Commit Graph

45 Commits

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