From 1cd41b27808da0fe558cfe31dfc370a71ea2dc50 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 19 Apr 2019 13:31:16 -0400 Subject: added support for rotating a lattice --- src/sample_fracture.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/sample_fracture.cpp') diff --git a/src/sample_fracture.cpp b/src/sample_fracture.cpp index 42a6a5a..782b3e4 100644 --- a/src/sample_fracture.cpp +++ b/src/sample_fracture.cpp @@ -47,6 +47,7 @@ int main(int argc, char* argv[]) { CHOL_F(start)(&c); sample meas(Lx, Ly, beta); + //sample meas2(Ly, Lx, beta); randutils::auto_seed_128 seeds; std::mt19937 rng{seeds}; @@ -56,6 +57,12 @@ int main(int argc, char* argv[]) { network network(G, &c); network.set_thresholds(beta, rng); network.fracture(meas); + + /*graph G2 = G.rotate(); + class network network2(G2, &c); + network2.thresholds = network.thresholds; + network2.fracture(meas2); + */ } CHOL_F(finish)(&c); -- cgit v1.2.3-70-g09d2