get_gromacs_energies
- openff.interchange.drivers.get_gromacs_energies(interchange: Interchange, mdp: str = 'auto', round_positions: int = 8, detailed: bool = False, _merge_atom_types: bool = False) EnergyReport [source]
Given an OpenFF Interchange object, return single-point energies as computed by GROMACS.
Warning
This API is experimental and subject to change.
- Parameters
interchange (openff.interchange.Interchange) – An OpenFF Interchange object to compute the single-point energy of
mdp (str, default=”cutoff”) – A string key identifying the GROMACS .mdp file to be used. See _get_mdp_file.
round_positions (int, default=8) – A decimal precision for the positions in the .gro file.
detailed (bool, default=False) – If True, return a detailed report containing the energies of each term.
_merge_atom_types (bool, default=False) – If True, energy should be computed with merging atom types.
- Returns
report – An EnergyReport object containing the single-point energies.
- Return type