sisl.mpi.DistributionState
- class sisl.mpi.DistributionState
Bases:
objectDistribution state carried by a distributed object.
Holds the
Distributionthe object is laid out by, and tracks whether the object has been mutated since it was last made coherent. The epoch is a plain counter: mutation bumps it, assembly records it. Nothing here communicates.This lives on the object, not on the
Distribution, so that a single distribution can be shared by many objects.Methods
Record that the object has been made coherent at the current epoch.
touch()Record a structural change.
Attributes
Bumped by every structural change.
Whether the object is coherent, i.e. usable by a consumer.
- mark_assembled()[source]
Record that the object has been made coherent at the current epoch.
- Return type:
- property distribution: Distribution