From f3f28630a8cdfa03f29490e26d6b0aeb2fe678b7 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Sun, 4 Feb 2018 14:45:48 -0500 Subject: moved measurement tools to own file --- lib/wolff.h | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'lib/wolff.h') diff --git a/lib/wolff.h b/lib/wolff.h index 44e5926..ce7040a 100644 --- a/lib/wolff.h +++ b/lib/wolff.h @@ -19,6 +19,7 @@ #include "convex.h" #include "graph.h" #include "tree.h" +#include "measurement.h" typedef struct { graph_t *g; @@ -33,33 +34,7 @@ typedef struct { q_t q; } ising_state_t; -typedef struct { - uint64_t n; - double x; - double dx; - double x2; - double m2; - double m4; - double c; - double dc; -} meas_t; - -typedef struct { - uint64_t n; - uint64_t W; - double *OO; - dll_t *Op; - double O; - double O2; -} autocorr_t; - v_t flip_cluster(ising_state_t *s, v_t v0, q_t s1, gsl_rng *r); graph_t *graph_add_ext(const graph_t *g); -void update_meas(meas_t *m, double x); - -void update_autocorr(autocorr_t *OO, double O); - -double rho(autocorr_t *o, uint64_t i); - -- cgit v1.2.3-70-g09d2