Skip to main content

matches_def

Function matches_def 

Source
pub fn matches_def(
    def: &AtomTypeDef,
    idx: usize,
    atoms: &[AtomGeneric],
    env_all: &[AtomEnvData],
    bonds: &[BondGeneric],
    adj: &[Vec<usize>],
) -> bool
Expand description

Checks each atom against a FF def to determine if it’s a match. If it is, we assign the FF type from the def.