diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/clock.cpp | 6 | ||||
-rw-r--r-- | examples/ising.cpp | 5 | ||||
-rw-r--r-- | examples/ising_animation.cpp | 3 | ||||
-rw-r--r-- | examples/ising_no_field.cpp | 6 | ||||
-rw-r--r-- | examples/potts.cpp | 6 |
5 files changed, 17 insertions, 9 deletions
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 <iostream> #include <chrono> -#include "simple_measurement.hpp" +#define WOLFF_USE_FINITE_STATES +#define WOLFF_FINITE_STATES_N WOLFF_POTTSQ #include <wolff/models/potts.hpp> #include <wolff/models/dihedral.hpp> -#include <wolff/finite_states.hpp> + +#include "simple_measurement.hpp" #include <wolff.hpp> 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 <iostream> #include <chrono> -#include "simple_measurement.hpp" +#define WOLFF_USE_FINITE_STATES #include <wolff/models/ising.hpp> -#include <wolff/finite_states.hpp> #include <wolff.hpp> +#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 <GL/glut.h> +#define WOLFF_USE_FINITE_STATES + #include <wolff/models/ising.hpp> -#include <wolff/finite_states.hpp> #include <wolff.hpp> 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 <chrono> #define WOLFF_NO_FIELD -#include "simple_measurement.hpp" +#define WOLFF_USE_FINITE_STATES #include <wolff/models/ising.hpp> -#include <wolff/finite_states.hpp> #include <wolff.hpp> +#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 <iostream> #include <chrono> -#include "simple_measurement.hpp" +#define WOLFF_USE_FINITE_STATES +#define WOLFF_FINITE_STATES_N WOLFF_POTTSQ #include <wolff/models/potts.hpp> #include <wolff/models/symmetric.hpp> -#include <wolff/finite_states.hpp> + +#include "simple_measurement.hpp" #include <wolff.hpp> |