diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-06-26 15:13:46 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-06-26 15:13:46 -0400 |
commit | 25781a4041fa75a3394949d111be3abbefc97c26 (patch) | |
tree | 60e9db774c2257a045efabf50aea13d850d8c265 /lib/measurement.h | |
parent | 7ee46e45abea3261b2728aa4d0f03f939e123dc7 (diff) | |
download | c++-25781a4041fa75a3394949d111be3abbefc97c26.tar.gz c++-25781a4041fa75a3394949d111be3abbefc97c26.tar.bz2 c++-25781a4041fa75a3394949d111be3abbefc97c26.zip |
began generalizing the potts code to work with all finite spin spaces
Diffstat (limited to 'lib/measurement.h')
-rw-r--r-- | lib/measurement.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |