diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2021-03-22 21:40:19 +0100 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2021-03-22 21:40:19 +0100 |
commit | df9c0050b37c2669a1f70a019a397816eeae6b2d (patch) | |
tree | c60ca8e83938c8a3b51c239cd2d4cd54e36ee6af /ciamarra.cpp | |
parent | fadb6926d8e07ecacc9e0d1031a567494db4730a (diff) | |
download | lattice_glass-df9c0050b37c2669a1f70a019a397816eeae6b2d.tar.gz lattice_glass-df9c0050b37c2669a1f70a019a397816eeae6b2d.tar.bz2 lattice_glass-df9c0050b37c2669a1f70a019a397816eeae6b2d.zip |
Fixed Ciamarra model.
Diffstat (limited to 'ciamarra.cpp')
-rw-r--r-- | ciamarra.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ciamarra.cpp b/ciamarra.cpp index 8449cbb..6b932bf 100644 --- a/ciamarra.cpp +++ b/ciamarra.cpp @@ -58,6 +58,9 @@ int main() { } std::cerr << "Found state with appropriate density." << std::endl; + if (!s.compatible()) { + std::cerr <<"whoops!" << std::endl; + } CiamarraSystem<D> s0 = s; @@ -69,9 +72,9 @@ int main() { n++; std::cout << i << " " << s.overlap(s0) << std::endl; } - s.sweepLocal(r); +// s.sweepLocal(r); // s.sweepSwap(r); -// s.swendsenWang(Transformation<D>(L, ms, r), r); + s.swendsenWang(Transformation<D>(L, ms, r), r); } return 0; |