diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-24 13:12:35 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-24 13:12:35 -0400 |
commit | c48fd16fe1554c88c79a1f0d50e81c803da8f61f (patch) | |
tree | 2b8a07de4e0fc795854fc4c1ac0ff095783218fa /lib/cluster_finite.h | |
parent | 8d96c4d30214a2c27561740b7b3f7e1e3b0bbfe4 (diff) | |
download | c++-c48fd16fe1554c88c79a1f0d50e81c803da8f61f.tar.gz c++-c48fd16fe1554c88c79a1f0d50e81c803da8f61f.tar.bz2 c++-c48fd16fe1554c88c79a1f0d50e81c803da8f61f.zip |
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
Diffstat (limited to 'lib/cluster_finite.h')
-rw-r--r-- | lib/cluster_finite.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |