openmmtools.utils.get_fastest_platform

openmmtools.utils.get_fastest_platform(minimum_precision='mixed')[source]

Return the fastest available platform.

This relies on the hardcoded speed values in Platform.getSpeed().

Parameters:
minimum_precisionstr, optional, default=’mixed’

One of [‘single’, ‘mixed’, ‘double’]

Returns:
platformopenmm.Platform

The fastest available platform.