apply#
- SemiGrandCanonicalEventGenerator.apply(
- self: SemiGrandCanonicalEventGenerator,
- occ_event: OccEvent,
Apply an event
- Parameters:
occ_event (class:~libcasm.monte.events.OccEvent) – The Monte Carlo event to apply to the current state.
- Returns:
occ_event – The proposed Monte Carlo event.
- Return type:
class:~libcasm.monte.events.OccEvent