xnn.ffnn.models.amoebalib.from_forcefield#

xnn.ffnn.models.amoebalib.from_forcefield(ff, strict=True)[source]#

Build an AmoebaLibrary from a resolved .frc force field.

Parameters:
  • ff (xnn.ffnn.common.frc.ForceField) – A force field of the AMOEBA / HIPPO functional form (see the module notes for the section kinds).

  • strict (bool, optional) – If True (default) refuse functional forms this model does not implement; else ignore them and record a note.

Returns:

The library, templates and fragments included.

Return type:

AmoebaLibrary