Skip to main content

sim_lib_view_interference/
lib.rs

1#![forbid(unsafe_code)]
2#![deny(missing_docs)]
3
4//! A reversible, evidence-preserving surface over solved interference studies.
5//!
6//! The crate is deliberately a thin leaf. It decodes the published
7//! `interference/Study` Citizen, asks `sim-lib-interference-solve` to perform
8//! detector-aware projection, and hands the bounded scalar result to the
9//! general `scene/heatmap` contract. Edits compile to the existing
10//! `interference/project` or `interference/solve` forms; no propagation,
11//! resampling equation, Tensor store, or device API lives here.
12
13pub mod cookbook;
14mod intent;
15mod scene;
16mod surface;
17
18pub use surface::{
19    INTERFERENCE_PROJECT_CAPABILITY, INTERFERENCE_SOLVE_CAPABILITY, INTERFERENCE_SURFACE_CODEC_ID,
20    InterferenceSurfaceCodec, MAX_ANIMATION_FRAMES, register_interference_surface,
21    surface_interference_codec_symbol,
22};
23
24/// Checked interference-surface recipes embedded with this library.
25pub static RECIPES: sim_cookbook::EmbeddedDir =
26    include!(concat!(env!("OUT_DIR"), "/cookbook_recipes.rs"));
27
28#[cfg(test)]
29mod tests;