summaryrefslogtreecommitdiff
path: root/lib/cluster_finite.h
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-01 00:52:31 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-01 00:52:31 -0400
commit90ae915b5a7961a36e6a33509b16229244c6615a (patch)
tree16c6642868b9bb998864918ba2d86fefc648dc91 /lib/cluster_finite.h
parent78d8de381f0b1e99ad98364709cbf876689628b2 (diff)
downloadc++-90ae915b5a7961a36e6a33509b16229244c6615a.tar.gz
c++-90ae915b5a7961a36e6a33509b16229244c6615a.tar.bz2
c++-90ae915b5a7961a36e6a33509b16229244c6615a.zip
fixed both the system for determining bond energy and how global state is tracked
Diffstat (limited to 'lib/cluster_finite.h')
-rw-r--r--lib/cluster_finite.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/cluster_finite.h b/lib/cluster_finite.h
index 701c197..b2d764e 100644
--- a/lib/cluster_finite.h
+++ b/lib/cluster_finite.h
@@ -31,6 +31,11 @@ typedef struct {
q_t q;
R_t n_transformations;
q_t *transformations;
+ R_t n_involutions;
+ R_t *involutions;
+ R_t *transform_site_to_zero;
+ q_t n_bond_types;
+ q_t *bond_with_zero_type;
double T;
double *J;
double *H;
@@ -42,5 +47,5 @@ typedef struct {
v_t *M;
} state_finite_t;
-v_t flip_cluster_finite(state_finite_t *s, v_t v0, q_t rot, gsl_rng *r);
+v_t flip_cluster_finite(state_finite_t *s, v_t v0, R_t rot, gsl_rng *r);