Skip to main content

active_geometry_epochs

Function active_geometry_epochs 

Source
pub fn active_geometry_epochs(
    schedules: &[StructureGeometrySchedule],
    time_s: f64,
) -> Vec<usize>
Expand description

Active epoch index of every schedule at time_s, in schedule order.

The epoch is the number of knots with knot.time_s <= time_s. It is purely a function of time_s, so checkpoint import recomputes it and rejects any mismatch.