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 theopenff-forcefields
package is installed, this should include several .offxml files such asopenff-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