From 352f9ed8a96a34c39c0e0215c4f7aca979a323ad Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 12 Oct 2019 11:22:13 +0200 Subject: [PATCH] reg3:: cellrotations --- geometry.cpp | 2 ++ reg3.cpp | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/geometry.cpp b/geometry.cpp index 290c9ed6..40952eaf 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -289,6 +289,8 @@ hpcshape vector> symmetriesAt; + vector > > cellrotations; + #ifndef SCALETUNER static constexpr #endif diff --git a/reg3.cpp b/reg3.cpp index d6f9040a..81e261d8 100644 --- a/reg3.cpp +++ b/reg3.cpp @@ -900,6 +900,33 @@ EX bool pseudohept(cell *c) { } #endif +EX void generate_cellrotations() { + auto &cr = cgi.cellrotations; + if(isize(cr)) return; + + for(int a=0; a 0.01) continue; + vector perm(S7); + for(int x=0; x