859a7f8b18
rename FullyGenericMaterial
-> GenericMaterial
...
this naming was an artifact from the separate CPU/GPU material implementations.
2022-12-07 09:46:33 +00:00
a51c3a1d14
sim: remove the unused StaticSim
type alias
2022-08-23 23:25:08 -07:00
8e48414d68
SimMeta: make the fields private
2022-08-23 23:23:49 -07:00
17446cdc6b
sim: remove unused AbstractSim::to_static
method
2022-08-23 23:13:15 -07:00
2af754bf29
sim/legacy: remove
...
that crazy tangle of legacy code evolved over 2+
years into the beast it is today.
but it has no relevance in the GPU-enabled world of today,
particularly one with more rigid Material abstractions.
good things come to an end. i'll try not to be too sentimental.
2022-08-23 23:01:29 -07:00
24b82037b4
Stimulus: parameterize over R.
...
this saves us from a `mem::transmute` in the sim code to get
`Fields<R>`.
2022-08-22 00:37:34 -07:00
570f058ee1
rename AbstractStimulus
-> Stimulus
2022-08-18 15:27:18 -07:00
ae1eb861be
instrument the stimulus evaluation in our sim
...
... stimulus evaluation accounts for like 80% of the execution time 🤦
2022-08-11 22:57:43 -07:00
527814e38a
convert HasTangent -> HasCrossSection
...
i believe the current loop algorithm (which i'm just preserving here) is
actually not correct. i'll work through it more.
2022-08-01 05:17:35 -07:00
6a511943f7
note a few suspect areas of code
2022-07-30 17:02:10 -07:00
ba6ef3c5c2
viewer: add a render mode to display just the Material
2022-07-29 16:28:58 -07:00
9c1fc65068
convert AbstractSim::sample to include a reference to the material -- not just its conductivity
2022-07-29 16:02:16 -07:00
895c87869b
rename CellStateWithM => Fields; parameterize Sample over R
2022-07-29 14:55:12 -07:00
7e452f508f
AbstractSim: convert the {get,put}_material
functions to use only Index
2022-07-29 14:43:59 -07:00
604f368f0d
SerializeRenderer: render to GenericSim
, not StaticSim
2022-07-29 13:27:05 -07:00
95ffb73fe3
add a to_generic
method to the AbstractSim trait
2022-07-29 13:11:16 -07:00
56f74e6b4a
AbstractSim: remove the Send bound
2022-07-28 23:49:45 -07:00
4f2345f608
rename GenericSim -> AbstractSim
2022-07-28 23:41:42 -07:00
3104c06d95
fold MaterialSim into GenericSim trait
2022-07-28 22:31:47 -07:00
71ab89c4c9
de-virtualize GenericSim
...
this should let us fold the GenericSim and MaterialSim traits together.
2022-07-28 22:22:07 -07:00
6206569f4a
Fold SampleableSim and MaterialSim into one
2022-07-28 16:41:32 -07:00
a49d9cd7a4
sim: fold most accessors behind the meta
method
2022-07-28 16:25:39 -07:00
0465e3d7f5
sim: remove impulse_e
methods
2022-07-28 16:17:02 -07:00
afc1f874d2
sim: remove unused impulse_b
, impulse_h
methods
2022-07-28 15:55:50 -07:00
1898542372
sim: address a TODO: get_material
returns a reference
2022-07-28 15:45:51 -07:00
45d2de29c6
rename 'coremem_types' -> 'coremem_cross' to better reflect its purpose
2022-07-28 15:40:23 -07:00
5a0766451d
spirv: relax some : 'static
bounds
2022-07-27 17:11:10 -07:00
1dd6a068ba
replace 'StaticSim' with the SpirvSim type, material being the Vacuum
2022-07-27 16:22:32 -07:00
dc38457a8b
don't re-export StaticSim from sim/mod.rs
...
this way we can clearly spot the legacy users.
2022-07-27 15:42:18 -07:00
7286d272b9
move coremem/mat -> coremem/sim/legacy/mat
2022-07-24 18:31:11 -07:00
2f0e52a09b
split SimState out of sim/mod.rs
-> sim/legacy.rs
2022-07-24 18:19:26 -07:00
ce00281c09
fix typo: 'electic' -> 'electric'
2022-07-23 23:58:24 -07:00
048eb7dbef
geom: don't re-export coremem_types::vec
2022-07-23 18:57:17 -07:00
35a0c52f67
coremem tests: comment out dead code
2022-07-22 16:25:15 -07:00
19849c2428
fix test compilation failures from vec migration
2022-07-17 22:41:39 -07:00
8c3a26e798
move vec, vecu into coremem_types
...
- this will allow it to be used from within the spirv code.
- had to change some coremem code which was previously peering into
privates or now-unrestricted constraints.
- may need to put the serde stuff behind a feature flag (or force
nostd?)
2022-07-17 21:50:38 -07:00
5b99d30cda
restructure this multi-crate project to use Cargo's "workspace" feature
...
this solves an issue in the Nix build, where managing multiple
Cargo.lock files is otherwise tricky. it causes (or fails to fix?) an adjacent issue where
the spirv builder doesn't seem to have everything it needs vendored.
2022-07-05 17:34:21 -07:00