Commit Graph

17 Commits

Author SHA1 Message Date
75008a6bd5 Consolidate duplicate 3r1 material definitions into mat::db module 2020-09-13 18:32:43 -07:00
53da11c874 Assorted minor aesthetic touchups 2020-09-13 17:19:44 -07:00
cb9f413710 Add energy measurement 2020-09-13 17:08:33 -07:00
0fc973b409 Toy around with some other setups.
It's weird (maybe), that the behavior of the ferromagnet is to _prevent_ H
from getting very large
2020-09-09 22:41:41 -07:00
4d8ef1c9f3 Add a measurement for magnetization 2020-09-07 21:58:07 -07:00
d611e822dd Add a 'Measurement' concept, e.g. to display current at a point. 2020-09-07 20:14:41 -07:00
5d61765a84 Move the Driver away from the builder pattern and use mutators instead 2020-09-07 17:46:42 -07:00
14fa68bfb2 Snapshot and decimate before rendering; add an explicit boundary layer 2020-09-07 17:42:05 -07:00
b7716d2dea Repurpose mat::Conductor to mat::Static
This will allow taking a material-independent snapshot of the SimState.
2020-09-06 12:18:31 -07:00
d26b4197af Introduce a Driver abstraction to encapsulate the SimState and the Renderers 2020-09-06 11:24:48 -07:00
3b1397e90c Implement a NullRenderer 2020-09-05 23:41:28 -07:00
fc14961d32 Render simulations to the terminal and to disk simultaneously 2020-09-05 17:43:51 -07:00
8e71e02ac1 Fix clippy errors 2020-09-04 16:49:24 -07:00
6d7bb5becb Generalize rendering into a trait 2020-09-04 16:12:33 -07:00
aff8764114 Implement a BH-curve material (example material is 3R1)
NB: I think there are some errors needing to be worked out, but at least
it doesn't crash!
2020-08-27 23:41:57 -07:00
6ac0dafa47 Have the GenericMaterial be an enum to make it easier to replace the ferromagnet model 2020-08-27 12:51:12 -07:00
c68964403d Fix COMSOL ferromagnet model, and make a new example for it
I'm a little skeptical of it as a model, though.
2020-08-22 22:35:45 -07:00