diff --git a/crates/applications/multi_core_inverter/src/main.rs b/crates/applications/multi_core_inverter/src/main.rs index 6dab109..9ee49af 100644 --- a/crates/applications/multi_core_inverter/src/main.rs +++ b/crates/applications/multi_core_inverter/src/main.rs @@ -92,7 +92,8 @@ fn main() { let feat_size = um(10); let input_magnitude = 1.0e9; - let clock_phase_duration = ps(2000); + let clock_phase_duration = ps(4000); + let clock_decay = ps(250); // exp decay half-life // 's' = core (ferromagnetic part) let s_major = um(160); @@ -137,7 +138,7 @@ fn main() { driver.add_stimulus(stim); } else if ty.is_release() { // decaying exponential wave: - let wave = Exp::new_at(amp, start, 0.125 * clock_phase_duration /* half-life */); + let wave = Exp::new_at(amp, start, clock_decay); let stim = CurlStimulus::new( region.clone(), wave.clone(), @@ -257,13 +258,12 @@ fn main() { } } - let prefix = "out/applications/multi_core_inverter/11/"; + let prefix = "out/applications/multi_core_inverter/13/"; let _ = std::fs::create_dir_all(&prefix); driver.add_state_file(&*format!("{}state.bc", prefix), 6400); driver.add_serializer_renderer(&*format!("{}frame-", prefix), 3200, None); driver.add_csv_renderer(&*format!("{}meas-detailed.csv", prefix), 100, None); driver.add_csv_renderer(&*format!("{}meas.csv", prefix), 800, None); - driver.set_steps_per_stim(100); driver.step_until(duration); }