pymor.parallel.manager

Classes

RemoteObjectManager

A simple context manager to keep track of RemoteObjects.

class pymor.parallel.manager.RemoteObjectManager[source]

Bases: BasicObject

A simple context manager to keep track of RemoteObjects.

When leaving this context, all RemoteObjects that have been managed by this object will be removed.

manage(remote_object)[source]

Add a RemoteObject to the list of managed objects.

Parameters:

remote_object – The object to add to the list.

Returns:

remote_object

remove_objects()[source]

Call remove for all managed objects.