Skip to main content

SSESimulation

Simulation manager for the stochastic series expansion.

Factories

sse_simulation(const Lattice lattice, const List<NeighbourhoodRule> neighbourhood_rules, real beta) -> SSESimulation

Constructs an SSE simulation instance.

Parameters

  • lattice: The lattice geometry for the system to be simulated.
  • neighbourhood_rules: The neighbourhoods on which vertices can be defined.
  • beta: The inverse temperature.

sse_simulation(const Lattice lattice, const NeighbourhoodRule neighbourhood_rule, real beta) -> SSESimulation

Constructs an SSE simulation instance.

Parameters

  • lattice: The lattice geometry for the system to be simulated.
  • neighbourhood_rule: The neighbourhood on which vertices can be defined.
  • beta: The inverse temperature.

Members

NameDescription
addAdds a vertex to the simulation
equilibrateRuns a given number of equilibration sweeps, allowing the expansion cutoff to expand.
get_betaReturns the inverse temperature at which the simulation is run.
historyReturns the history of cells produced by the SSE.
initializeInitializes the simulation, should be called after all vertices have been added.
set_betaSets a new inverse temperature for the simulation
simulateRuns a given number of simulation sweeps, updating the given order estimator. Uses the default random number generator.
support_sizeReturns the neighbourhood table contained in the simulation.
support_tableReturns the neighbourhood table contained in the simulation.