diff --git a/crates/applications/multi_core_inverter/src/main.rs b/crates/applications/multi_core_inverter/src/main.rs index e7e3ab7..0880181 100644 --- a/crates/applications/multi_core_inverter/src/main.rs +++ b/crates/applications/multi_core_inverter/src/main.rs @@ -385,7 +385,7 @@ fn main() { // let stim = DynStimuli::from_vec(stim.map(MapIntoBoxStimulus).into_vec()); let mut driver = driver.with_stimulus(stim); - let prefix = "out/applications/multi_core_inverter/19-4ns-1e7A/"; + let prefix = "out/applications/multi_core_inverter/20-4ns-1e7A/"; let _ = std::fs::create_dir_all(&prefix); driver.add_state_file(&*format!("{}state.bc", prefix), 6400); driver.add_serializer_renderer(&*format!("{}frame-", prefix), 6400, None); diff --git a/crates/coremem/src/stim.rs b/crates/coremem/src/stim.rs index ffc3574..3aaff8c 100644 --- a/crates/coremem/src/stim.rs +++ b/crates/coremem/src/stim.rs @@ -266,7 +266,7 @@ impl AbstractStimulus for C fn at(&self, t_sec: f32, pos: Meters) -> Fields { if self.region.contains(pos) { let FieldMags { e, h } = self.stim.at(t_sec); - let rotational = self.region.cross_section_normal(pos).norm(); + let rotational = self.region.cross_section_normal(pos); let impulse_e = rotational.with_mag(e.cast()).unwrap_or_default(); let impulse_h = rotational.with_mag(h.cast()).unwrap_or_default(); Fields {