get_available_force_fields

openff.toolkit.typing.engines.smirnoff.get_available_force_fields(full_paths=False)[source]

Get the filenames of all available .offxml force field files.

Availability is determined by what is discovered through the openforcefield.smirnoff_forcefield_directory entry point. If the openff-forcefields package is installed, this should include several .offxml files such as openff-1.0.0.offxml.

Parameters:

full_paths (bool, default=False) – If False, return the name of each available *.offxml file. If True, return the full path to each available *.offxml file.

Returns:

available_force_fields (list[str]) – List of available force field files