From c48fd16fe1554c88c79a1f0d50e81c803da8f61f Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Tue, 24 Jul 2018 13:12:35 -0400 Subject: implemented updating the first fourier moment in wolff_finite, but also make wolff_finite obselete by adding a hacky preprocessor method for making wolff.h as efficient --- lib/cluster_finite.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/cluster_finite.h') diff --git a/lib/cluster_finite.h b/lib/cluster_finite.h index b2d764e..117087e 100644 --- a/lib/cluster_finite.h +++ b/lib/cluster_finite.h @@ -45,6 +45,10 @@ typedef struct { q_t *R; v_t *B; v_t *M; + double *ReF; + double *ImF; + double *precomputed_cos; + double *precomputed_sin; } state_finite_t; v_t flip_cluster_finite(state_finite_t *s, v_t v0, R_t rot, gsl_rng *r); -- cgit v1.2.3-70-g09d2