pub trait Cutoff {
// Required method
fn cutoff(&self) -> f64;
// Provided methods
fn cutoff_squared(&self) -> f64 { ... }
fn lower_cutoff(&self) -> f64 { ... }
fn is_finite(&self) -> bool { ... }
}Expand description
Defines a spherical cut-off distance
Required Methods§
Provided Methods§
Sourcefn cutoff_squared(&self) -> f64
fn cutoff_squared(&self) -> f64
Squared cutoff distance
Sourcefn lower_cutoff(&self) -> f64
fn lower_cutoff(&self) -> f64
Cutoff distance (lower)