//! Shared types for 3D Thermal Ablation Bioheat Demo //! //! This crate provides common data structures used across the bioheat solver, //! server, and frontend components for thermal ablation simulation. //! //! # Pennes Bioheat Equation //! //! The demo solves the Pennes bioheat equation: //! ```text //! ρc(∂T/∂t) = k∇²T + ωb·ρb·cb·(Ta - T) + Qm + Qs //! ``` //! //! Where: //! - `ρ, c` = tissue density and specific heat //! - `k` = thermal conductivity //! - `ωb` = blood perfusion rate (cooling effect) //! - `ρb, cb` = blood density and specific heat //! - `Ta` = arterial blood temperature //! - `Qm` = metabolic heat generation //! - `Qs` = external heat source (ablation probe) pub mod fields; pub mod geometry; pub mod ipc; pub mod physics; pub use fields::{AblationZone, SliceAxis, SliceData, TemperatureField}; pub use geometry::{BoundingBox3D, Point3D, ProbeGeometry}; pub use ipc::{BioheatLossRecord, BioheatSnapshot, BioheatStatus, SimulationParams}; pub use physics::{BioheatParams, BloodProperties, TissueProperties, TissueType};