summaryrefslogtreecommitdiff
path: root/lib/wolff.h
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2017-06-21 16:44:09 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2017-06-21 16:44:09 -0400
commitdb6f6556ff4e138de72dfba9a095659264235b71 (patch)
tree481dcb4d5e6ba59bc1b44771d752acf556ddceff /lib/wolff.h
parent3089143613a89f680c9c8b2dcbd774b4145c4eeb (diff)
downloadc++-db6f6556ff4e138de72dfba9a095659264235b71.tar.gz
c++-db6f6556ff4e138de72dfba9a095659264235b71.tar.bz2
c++-db6f6556ff4e138de72dfba9a095659264235b71.zip
made some simplifications to the computation of magnetization and energy
Diffstat (limited to 'lib/wolff.h')
-rw-r--r--lib/wolff.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/wolff.h b/lib/wolff.h
index 6beb03e..ca7635a 100644
--- a/lib/wolff.h
+++ b/lib/wolff.h
@@ -29,6 +29,7 @@ typedef struct ll_tag {
typedef struct {
int32_t nv;
double dH;
+ int32_t dM;
} cluster_t;
double get_hamiltonian(graph_t *g, double *coupling, bool *x);