Skip to main content

stopping_model

Function stopping_model 

Source
pub fn stopping_model(
    choice: StoppingChoice,
) -> Box<dyn ElectronicStopping + Send + Sync>
Expand description

The electronic stopping model for a choice. For StoppingChoice::EquipartitionLsOr the engine does not use this model (it carries its own Lindhard-Scharff/Oen-Robinson mix); Lindhard-Scharff is returned so the validity range can still be checked. For StoppingChoice::None it is NoStopping, whose validity range is unbounded, so no out-of-range warning is raised.