WRApplication
External kratos "application" for multiscale time integration.
|
Interface for Snapshot lifetime management. More...
Public Member Functions | |
None | Add (self, KratosMultiphysics.ModelPart model_part) |
Construct a snapshot and add it to the internal journal. More... | |
"Snapshot" | Get (self, WRApp.CheckpointID id) |
Retrieve a snapshot from the internal journal that matches the provided ID. More... | |
None | Erase (self, WRApp.CheckpointID id) |
Erase an entry from the internal journal that matches the provided ID and delete its related snapshot. More... | |
None | EraseObsolete (self) |
Call Manager.Erase on all IDs that return true for the provided predicate. More... | |
KratosMultiphysics.Parameters | GetDefaultParameters (cls) |
Interface for Snapshot lifetime management.
@classname SnapshotManager
SnapshotManager supports adding, retrieving and erasing Snapshot s. Added (or discovered) snapshots are tracked via Journal, and erased based on the return value of a predicate (CheckpointID -> bool).
None Add | ( | self, | |
KratosMultiphysics.ModelPart | model_part | ||
) |
Construct a snapshot and add it to the internal journal.
None Erase | ( | self, | |
WRApp.CheckpointID | id | ||
) |
Erase an entry from the internal journal that matches the provided ID and delete its related snapshot.
Reimplemented in SnapshotInMemoryManager, and HDF5SnapshotManager.
None EraseObsolete | ( | self | ) |
Call Manager.Erase on all IDs that return true for the provided predicate.
"Snapshot" Get | ( | self, | |
WRApp.CheckpointID | id | ||
) |
Retrieve a snapshot from the internal journal that matches the provided ID.
Reimplemented in HDF5SnapshotManager.
KratosMultiphysics.Parameters GetDefaultParameters | ( | cls | ) |
Reimplemented in SnapshotInMemoryManager, and HDF5SnapshotManager.