summaryrefslogtreecommitdiff
path: root/ising.hpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2020-07-20 13:35:48 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2020-07-20 13:35:48 -0400
commit4740abed9fcd40359a9ced3a97ac1b9f56e379a0 (patch)
tree5a49c24fa4421b77c6d8e7def524379233013cc5 /ising.hpp
parent468c25eabd1aaac7d02988fef97b66bb378988b3 (diff)
downloadspace_wolff-master.tar.gz
space_wolff-master.tar.bz2
space_wolff-master.zip
Thesis work.HEADmaster
Diffstat (limited to 'ising.hpp')
-rw-r--r--ising.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ising.hpp b/ising.hpp
index a97da26..eb733aa 100644
--- a/ising.hpp
+++ b/ising.hpp
@@ -1,4 +1,5 @@
+#include "title.hpp"
#include "smiley.hpp"
#include "space_wolff.hpp"
#include "torus_symmetries.hpp"
@@ -41,7 +42,7 @@ std::function<double(const isingSpin&, const isingSpin&)> isingZ(unsigned L) {
std::function<double(isingSpin)> isingBFace(unsigned L, double H) {
return [L, H](const isingSpin& s) -> double {
- return H * s.s * smiley[15 - s.x(1) * 16 / L][s.x(0) * 16 / L];
+ return H * s.s * phenomena[511 - s.x(1) * 512 / L][s.x(0) * 512 / L];
};
}