removed the difference between euclid3::coord and array<int,3> -- euclid3::coord is now array<int,3>

This commit is contained in:
Zeno Rogue committed 2019-11-30 18:06:48 +01:00
1 parent 90177343a4
commit b904fdde1e
6 files changed
+77 -106

No files matched your search

+2 -2
View File
@@ -968,7 +968,7 @@ void geometry_information::create_wall3d() {
if(GDIM == 3 && euclid && S7 == 12) {
auto v = euclid3::get_shifttable();
for(int w=0; w<12; w++) {
auto co = euclid3::getcoord(v[w]);
auto co = v[w];
vector<int> valid;
for(int c=0; c<3; c++) if(co[c]) valid.push_back(c);
int third = 3 - valid[1] - valid[0];
@@ -992,7 +992,7 @@ void geometry_information::create_wall3d() {
});
}
else {
auto t = euclid3::getcoord(v[w]);
auto t = v[w];
ld x = t[0], y = t[1], z = t[2];
make_wall(w, {
hpxy3(x, y/2, 0), hpxy3(x/2, y, 0), hpxy3(0, y, z/2),