Function wafer::potential::potential_sub[][src]

pub fn potential_sub(config: &Config) -> Result<R64, Error>

Calculate binding energy offset (if any). Follows the potential input/output arguments. FullCornell, and subsequent potentials that require indexed values must call potential_sub_idx.