diff --git a/crates/applications/sr_latch/src/main.rs b/crates/applications/sr_latch/src/main.rs index 99262fa..81f872d 100644 --- a/crates/applications/sr_latch/src/main.rs +++ b/crates/applications/sr_latch/src/main.rs @@ -1,7 +1,7 @@ -/// this example creates a "set/reset" latch from a non-linear ferromagnetic device. -/// this is quite a bit like a "core memory" device. -/// the SR latch in this example is wired to a downstream latch, mostly to show that it's -/// possible to transfer the state (with some limitation) from one latch to another. +//! this example creates a "set/reset" latch from a non-linear ferromagnetic device. +//! this is quite a bit like a "core memory" device. +//! the SR latch in this example is wired to a downstream latch, mostly to show that it's +//! possible to transfer the state (with some limitation) from one latch to another. use coremem::{Driver, mat, meas}; use coremem::geom::{Coord as _, Meters, Torus}; @@ -14,7 +14,7 @@ fn main() { coremem::init_logging(); // feature size: the side-length of each discrete grid cell to model (in Meters) let feat_size = 20e-6f32; - + // parameters used below to describe the components we construct below. units are (M, A or S). let depth = 1600e-6; // closest distance between the non-vacuum component and the dissipating boundary