From 3c2ce3017120f9469a1fef83096307fc4cef43e2 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 19 Oct 2018 16:31:10 -0400 Subject: changed the way that the finite states system works --- examples/clock.cpp | 6 ++++-- examples/ising.cpp | 5 +++-- examples/ising_animation.cpp | 3 ++- examples/ising_no_field.cpp | 6 ++++-- examples/potts.cpp | 6 ++++-- 5 files changed, 17 insertions(+), 9 deletions(-) (limited to 'examples') diff --git a/examples/clock.cpp b/examples/clock.cpp index 4b0ffb8..0cba8f6 100644 --- a/examples/clock.cpp +++ b/examples/clock.cpp @@ -3,11 +3,13 @@ #include #include -#include "simple_measurement.hpp" +#define WOLFF_USE_FINITE_STATES +#define WOLFF_FINITE_STATES_N WOLFF_POTTSQ #include #include -#include + +#include "simple_measurement.hpp" #include diff --git a/examples/ising.cpp b/examples/ising.cpp index fe21279..f187081 100644 --- a/examples/ising.cpp +++ b/examples/ising.cpp @@ -3,13 +3,14 @@ #include #include -#include "simple_measurement.hpp" +#define WOLFF_USE_FINITE_STATES #include -#include #include +#include "simple_measurement.hpp" + using namespace wolff; int main(int argc, char *argv[]) { diff --git a/examples/ising_animation.cpp b/examples/ising_animation.cpp index 2104e91..ab10585 100644 --- a/examples/ising_animation.cpp +++ b/examples/ising_animation.cpp @@ -5,8 +5,9 @@ #include +#define WOLFF_USE_FINITE_STATES + #include -#include #include diff --git a/examples/ising_no_field.cpp b/examples/ising_no_field.cpp index eebd672..28d7c70 100644 --- a/examples/ising_no_field.cpp +++ b/examples/ising_no_field.cpp @@ -4,13 +4,15 @@ #include #define WOLFF_NO_FIELD -#include "simple_measurement.hpp" +#define WOLFF_USE_FINITE_STATES #include -#include #include +#include "simple_measurement.hpp" + + using namespace wolff; int main(int argc, char *argv[]) { diff --git a/examples/potts.cpp b/examples/potts.cpp index 84494e2..24be2b3 100644 --- a/examples/potts.cpp +++ b/examples/potts.cpp @@ -3,11 +3,13 @@ #include #include -#include "simple_measurement.hpp" +#define WOLFF_USE_FINITE_STATES +#define WOLFF_FINITE_STATES_N WOLFF_POTTSQ #include #include -#include + +#include "simple_measurement.hpp" #include -- cgit v1.2.3-70-g09d2