leaspy.io.realizations
.DictRealizations
- class DictRealizations(realizations: Dict[str, AbstractRealization] | None = None)
Bases:
object
Dictionary of abstract realizations providing an easy-to-use interface.
- Parameters:
- realizationsDict[str, AbstractRealization], optional
The dictionary of realizations (empty if None).
- Attributes:
- realizations_dictDict[str, AbstractRealization]
Methods
clone
()Deep-copy of the CollectionRealization instance.
- clone()
Deep-copy of the CollectionRealization instance.
In particular the underlying realizations are cloned and detached.
- Returns:
- CollectionRealization
The cloned collection of realizations.