openff.interchange.components.mdconfig.MDConfig
- pydantic model openff.interchange.components.mdconfig.MDConfig[source]
Bases:
DefaultModel
A partial superset of runtime configurations for MD engines.
- field periodic: bool = True
Whether or not the system is periodic.
- field constraints: Literal['none', 'h-bonds', 'all-bonds', 'all-angles'] = 'none'
The type of constraints to be used in the simulation.
- field vdw_method: str = None
The method used to calculate the vdW interactions.
- field vdw_cutoff: FloatQuantity = None
The distance at which pairwise interactions are truncated
- field mixing_rule: Literal['lorentz-berthelot', 'geometric'] = None
The mixing rule (combination rule, combining rule) used in computing pairwise vdW interactions
- field switching_function: bool = None
Whether or not to use a switching function for the vdw interactions
- field switching_distance: FloatQuantity = None
The distance at which the switching function is applied
- field coul_method: str = None
The method used to compute pairwise electrostatic interactions
- field coul_cutoff: FloatQuantity = None
The distance at which electrostatic interactions are truncated or transformed.
- classmethod from_interchange(interchange: Interchange) MDConfig [source]
Generate a MDConfig object from an Interchange object.
- write_mdp_file(mdp_file: str = 'auto_generated.mdp') None [source]
Write a GROMACS .mdp file for running single-point energies.