Function wafer::potential::potential_sub_idx[][src]

pub fn potential_sub_idx(config: &Config, idx: &Index3) -> Result<R64, Error>

Calculate binding energy offset (if any). Follows the potential input/output arguments. Used if calculation requires indexing. If not, call potential_sub instead. Currency only FullCornell requires this routine.