Commit Graph

15 Commits

Author SHA1 Message Date
4ac48bd3f1 Minor cleanup to Render size 2020-10-03 22:13:59 -07:00
5c8c2f6c76 Fix division by zero in UPML boundary 2020-10-03 13:58:44 -07:00
55d6171325 Add units to the different Vec3 "types" (Meters and Index, so far) 2020-09-26 17:05:15 -07:00
00f22c95d0 WIP Stimulus system 2020-09-26 15:50:34 -07:00
9a0f778db5 UPML boundary now applies to z dimension 2020-09-26 15:13:30 -07:00
d39db969b5 Consolidate Vec/Coord into the geom submodule
Also add the missing coord.rs to version control...
It should have been checked in earlier
2020-09-26 14:09:41 -07:00
452141dd0d Change meas.rs to use meter coordinates instead of pixel coordinates 2020-09-26 14:01:10 -07:00
729f9f77a6 Make the Region trait 3d-ready 2020-09-26 13:39:34 -07:00
bef423ce38 Rename Point -> Vec2 to distinguish it clearly from any 3d object 2020-09-26 13:25:49 -07:00
fa0e30a2a6 Make Coord 3d 2020-09-25 21:04:16 -07:00
6d77c85179 Abstract coordinates behind a Coord type
This will allow adding another dimension to the coordinate, more easily.
2020-09-22 11:23:58 -07:00
2549ac9940 step_h uses optional left/down nodes.
This will be handy for implementing 3d, because the world with depth=1
(i.e. no neighboring xy planes) will behave the same as a 2d simulation.
2020-09-22 08:56:41 -07:00
253ffe585f Fix current measurement 2020-09-20 11:53:05 -07:00
ae93101676 Allow conductivity to be specified as a vector
This is necessary to implement UPML boundary conditions
2020-09-19 19:33:11 -07:00
a7899d9be1 Add a toroid example where the B field is actually directed circularly inside the toroid
This is a more accurate simulation of a core memory.
Presently, trying to characterize the device: understand how the drive
current, and sizing, affects switching time.
2020-09-18 22:23:37 -07:00