blob: 71b70ced080742ec5281e91e08d3d1f4374544e0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
********
Examples
********
Several examples are included in the directory :file:`examples/`. The simplist, standalone example of measuring the average cluster size of an Ising model is provided in full below, demonstrating how to define a model, measurement, couplings, and initialize the algorithm.
.. literalinclude:: ../examples/ising_standalone.cpp
:language: cpp
|