summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/cluster.h19
-rw-r--r--src/wolff_On.cpp5
-rw-r--r--src/wolff_cgm.cpp1
-rw-r--r--src/wolff_dgm.cpp1
-rw-r--r--src/wolff_ising.cpp1
-rw-r--r--src/wolff_potts.cpp1
6 files changed, 10 insertions, 18 deletions
diff --git a/lib/cluster.h b/lib/cluster.h
index cc2dc70..5124061 100644
--- a/lib/cluster.h
+++ b/lib/cluster.h
@@ -1,31 +1,14 @@
#pragma once
-#include <functional>
-#include <assert.h>
-#include <fftw3.h>
-#include <float.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_rng.h>
-#include <inttypes.h>
#include <cmath>
-#include <stdbool.h>
-#include <string.h>
-#include <sys/types.h>
-#include "state.h"
#include "types.h"
-#include "rand.h"
+#include "state.h"
#include "stack.h"
-#include "convex.h"
#include "graph.h"
-#include "tree.h"
-#include "measurement.h"
-#include "vector.h"
-#include "orthogonal.h"
-#include "dihedral.h"
-#include "dihinf.h"
-#include "yule_walker.h"
template <class R_t, class X_t>
void flip_cluster(state_t <R_t, X_t> *state, v_t v0, R_t r, gsl_rng *rand) {
diff --git a/src/wolff_On.cpp b/src/wolff_On.cpp
index 9f95f4a..ea80a28 100644
--- a/src/wolff_On.cpp
+++ b/src/wolff_On.cpp
@@ -1,14 +1,19 @@
#include <getopt.h>
+#include <stdio.h>
#ifdef HAVE_GLUT
#include <GL/glut.h>
#endif
+#include <vector.h>
+#include <orthogonal.h>
+
#include <wolff.h>
#include <correlation.h>
#include <measure.h>
#include <colors.h>
+#include <rand.h>
typedef orthogonal_t <N_COMP, double> orthogonal_R_t;
typedef vector_t <N_COMP, double> vector_R_t;
diff --git a/src/wolff_cgm.cpp b/src/wolff_cgm.cpp
index 559f6fc..1574308 100644
--- a/src/wolff_cgm.cpp
+++ b/src/wolff_cgm.cpp
@@ -10,6 +10,7 @@
#include <height.h>
// include wolff.h
+#include <rand.h>
#include <wolff.h>
typedef state_t <dihedral_inf_t<double>, height_t<double>> sim_t;
diff --git a/src/wolff_dgm.cpp b/src/wolff_dgm.cpp
index 6337a5e..718db8d 100644
--- a/src/wolff_dgm.cpp
+++ b/src/wolff_dgm.cpp
@@ -10,6 +10,7 @@
#include <height.h>
// include wolff.h
+#include <rand.h>
#include <wolff.h>
typedef state_t <dihedral_inf_t<int64_t>, height_t<int64_t>> sim_t;
diff --git a/src/wolff_ising.cpp b/src/wolff_ising.cpp
index e072d6a..9866248 100644
--- a/src/wolff_ising.cpp
+++ b/src/wolff_ising.cpp
@@ -9,6 +9,7 @@
#include <ising.h>
// include wolff.h
+#include <rand.h>
#include <wolff.h>
int main(int argc, char *argv[]) {
diff --git a/src/wolff_potts.cpp b/src/wolff_potts.cpp
index 74e0ea9..5de7f9c 100644
--- a/src/wolff_potts.cpp
+++ b/src/wolff_potts.cpp
@@ -11,6 +11,7 @@
#include <colors.h>
// include wolff.h
+#include <rand.h>
#include <wolff.h>
typedef state_t <symmetric_t<POTTSQ>, potts_t<POTTSQ>> sim_t;