Cache

The module openmmtools.cache implements a shared LRU cache for OpenMM Context objects that tries to minimize the number of objects in memory at the same time.

Cache objects

LRUCache
ContextCache
global_context_cache