uibcdf_tools.openmm.available_platforms

uibcdf_tools.openmm.available_platforms(verbose=True)[source]

Available platforms to run OpenMM integratos

List of available platforms to run an OpenMM MD integrators.

Parameters
verbosebool, 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.

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.

Examples

>>> from uibcdf_tools 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