diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-10-19 16:31:10 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-10-19 16:31:10 -0400 |
commit | 3c2ce3017120f9469a1fef83096307fc4cef43e2 (patch) | |
tree | 967a08e6b0ae8b95536c73b2b53d8f331a6bc582 /examples | |
parent | 3fe64420f18718e585cb36f4331edbf74a3d480e (diff) | |
download | c++-3c2ce3017120f9469a1fef83096307fc4cef43e2.tar.gz c++-3c2ce3017120f9469a1fef83096307fc4cef43e2.tar.bz2 c++-3c2ce3017120f9469a1fef83096307fc4cef43e2.zip |
changed the way that the finite states system works
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> |