diff --git a/crates/applications/multi_core_inverter/src/main.rs b/crates/applications/multi_core_inverter/src/main.rs index 86e0c51..f8a88ae 100644 --- a/crates/applications/multi_core_inverter/src/main.rs +++ b/crates/applications/multi_core_inverter/src/main.rs @@ -29,6 +29,12 @@ //! in this device, S0 is effectively an inverter, with S1, S2, S3 acting as buffers. //! for the purpose of this simulation, all terminal wires are closed loops either explicitly //! driven or measured. +//! +//! to run this, from toplevel directory: +//! ``` +//! $ cargo run --release --bin multi_core_inverter +//! $ pushd crates/coremem; cargo run --release --bin viewer ../../out/applications/multi_core_inverter/0/ ; popd +//! ``` use coremem::geom::{Meters, Torus}; use coremem::sim::units::Seconds; @@ -40,6 +46,7 @@ type Mat = spirv::IsoConductorOr; fn main() { coremem::init_logging(); + coremem::init_debug(); let um = |n| n as f32 * 1e-6; let ns = |n| n as f32 * 1e-9; let feat_size = um(10);