diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/examples.rst b/doc/examples.rst index 71b70ce..9f07d67 100644 --- a/doc/examples.rst +++ b/doc/examples.rst @@ -3,7 +3,9 @@ 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. +Several examples are included in the directory :file:`examples/`, including using site dependent fields, compiling without a field, using the same spin type for multiple transformation types, and more. + +The simplist, standalone example :file:`examples/ising_standalone.cpp` 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 |