Bamboost
bamboostindexuids

bamboost.index.uids

Classes

CollectionUID

UID of a collection. If no UID is provided, a new one is generated.

Note

The generated UID is guaranteed to be unique across MPI ranks by broadcasting the generated UUID from the root rank.

CollectionUID.__new__(cls, uid=None, length=10)
Arguments:
  • cls
  • uid:str | None=None
  • length:int=10
Arguments:
  • length:int

SimulationName

Name of a simulation. If no name is provided, a new one is generated.

Note

The generated name is guaranteed to be unique across MPI ranks by broadcasting the generated UUID from the root rank.

SimulationName.__new__(cls, name=None, length=10)
Arguments:
  • cls
  • name:str | None=None
  • length:int=10
Arguments:
  • length:int

SimulationUID

SimulationUID(self) -> None

UID of a simulation, consisting of the collection UID and the simulation name.

Use str(SimulationUID(...)) to get the string representation of the UID, which is in the format <collection_uid>:<simulation_name>. The constructor can be called with either the string representation or the collection UID and simulation name as separate arguments.

Attributes:
Arguments:
  • other
Arguments:
  • cls
  • args=()

On this page