Driver: simplify the StimuliAdapter

it was basically dead code.
This commit is contained in:
2022-08-12 14:42:56 -07:00
parent 31fd83eb34
commit e141047bec
3 changed files with 6 additions and 66 deletions

View File

@@ -414,7 +414,6 @@ fn run_sim(id: u32, p: Params, g: Geometries) -> Results {
let mut driver = Driver::new(SpirvSim::<f32, Mat, WgpuBackend>::new(
g.dim.to_index(p.geom.feat_size), p.geom.feat_size
));
driver.set_steps_per_stim(1000);
if !driver.add_state_file(&*format!("{}/state.bc", prefix), 16000) {
// mu_r=881.33, starting at H=25 to H=75.
let ferro_mat = mat::Ferroxcube3R1MH::new();