cgexplore.optimisation.CGOMMSinglePoint¶
- class cgexplore.optimisation.CGOMMSinglePoint(fileprefix, output_dir, assigned_system, platform=None)[source]¶
Bases:
CGOMMOptimizerGet energy of CG models using OpenMM.
Methods
Calculate energy of a molecule that must match assigned system.
- Parameters:
fileprefix (str)
output_dir (Path)
assigned_system (AssignedSystem | MartiniSystem)
platform (str | None)
- calculate_energy(assigned_system)¶
Calculate energy of a system.
- Parameters:
assigned_system (AssignedSystem | MartiniSystem)
- Return type:
- calculate_energy_decomposition(assigned_system)¶
Calculate energy of a system.
- Parameters:
assigned_system (AssignedSystem | MartiniSystem)
- Return type:
- calculate_molecule_energy_decomposition(molecule)[source]¶
Calculate energy of a molecule that must match assigned system.
- optimize(assigned_system)¶
Optimize a molecule.
- Parameters:
assigned_system (AssignedSystem | MartiniSystem)
- Return type:
Molecule