summaryrefslogtreecommitdiff
path: root/src/measurements.cpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-09-25 17:37:10 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-09-25 17:37:10 -0400
commit9afde9a59d432673f79ffc3f756771431b3e35fd (patch)
treea170e3952c8074cc75114265410d85e064e631fd /src/measurements.cpp
parente937fc2fc5737f591d0b952e3b3b91f70090de9e (diff)
downloadfuse_networks-9afde9a59d432673f79ffc3f756771431b3e35fd.tar.gz
fuse_networks-9afde9a59d432673f79ffc3f756771431b3e35fd.tar.bz2
fuse_networks-9afde9a59d432673f79ffc3f756771431b3e35fd.zip
correlation functions for square systems now initailized
Diffstat (limited to 'src/measurements.cpp')
-rw-r--r--src/measurements.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/measurements.cpp b/src/measurements.cpp
index 6d1b1f9..fd9c8a0 100644
--- a/src/measurements.cpp
+++ b/src/measurements.cpp
@@ -181,7 +181,16 @@ ma::ma(unsigned Lx, unsigned Ly, double beta, double weight) :
sa(Lx * Ly),
sA(Lx * Ly),
si(10000),
- sI(10000)
+ sI(10000),
+ cn(Lx * Ly),
+ cs(Lx * Ly),
+ cm(Lx * Ly),
+ cl(Lx * Ly),
+ cb(Lx * Ly),
+ ca(Lx * Ly),
+ cA(Lx * Ly),
+ cp(Lx * Ly),
+ cq(Lx * Ly)
{
if (beta != 0.0) {
model_string = "fracture_" + std::to_string(Lx) + "_" + std::to_string(Ly) + "_" + std::to_string(beta) + "_" + std::to_string(weight) + "_";