From 25781a4041fa75a3394949d111be3abbefc97c26 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Tue, 26 Jun 2018 15:13:46 -0400 Subject: began generalizing the potts code to work with all finite spin spaces --- lib/measurement.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/measurement.h') diff --git a/lib/measurement.h b/lib/measurement.h index eaa260b..46c034f 100644 --- a/lib/measurement.h +++ b/lib/measurement.h @@ -24,6 +24,11 @@ typedef struct { double O2; } autocorr_t; +typedef struct { + void (*f)(state_finite_t *, void *); + void *data; +} measurement_t; + void meas_update(meas_t *m, double x); double meas_dx(const meas_t *m); -- cgit v1.2.3-70-g09d2