molsysmt.thirds.openmm.platforms.available_platforms#

molsysmt.thirds.openmm.platforms.available_platforms(verbose=True)[source]#

Available platforms to run OpenMM integratos

List of available platforms to run an OpenMM MD integrators.

Parameters:

verbose (bool, default=True.) – If True, the method prints out a message with a line corresponding to each available platorm. If False, the method returns the list of platform names.

Examples

>>> from molsysmt.thirds.openmm import available_platforms
>>> available_platorms()
Platform Reference with speed 1.0
Platform CPU with speed 10.0
Platform CUDA with speed 100.0
Platform OpenCL with speed 50.0

Notes

This methods invokes the simtk.openmm methods to work with the class Platform. You can check the section Platforms in the OpenMM User Guide web page and the OpenMM Python API documentation.