petekStatic — the GEOMODEL layer: structural framework, grid construction, property modelling, volumetrics and static uncertainty, consolidated into one crate.
//! K-layers: the stratigraphic layering of the grid. In the box grid each `k`
//! is one uniform layer; `layer_interpolation` (Phase 7) splits/curves these.
/// One stratigraphic layer, identified by its `k` index.
#[derive(Debug, Clone, PartialEq, Eq)]pubstructKLayer{pubk:usize,
pubname: String,
}implKLayer{/// A layer with a default name `layer_{k}`.
#[must_use]pubfnnew(k:usize)->Self{Self{
k,
name:format!("layer_{k}"),}}}