Commit cf606eb1 authored by Adam P. Goucher's avatar Adam P. Goucher

Ensure C1 soup is centred within upattern tile, giving 3% speed boost

parent b11381f4
Pipeline #47140997 passed with stages
in 7 minutes and 43 seconds
......@@ -116,6 +116,14 @@ namespace apg {
d |= (((uint64_t) digest[2*j+17]) << 8*j);
}
if (symmetry == "C1") {
bw.world[std::pair<int32_t, int32_t>(1, 1)] = b;
bw.world[std::pair<int32_t, int32_t>(2, 1)] = a;
bw.world[std::pair<int32_t, int32_t>(1, 2)] = d;
bw.world[std::pair<int32_t, int32_t>(2, 2)] = c;
return bw;
}
bw.world[std::pair<int32_t, int32_t>(0, 0)] = b;
bw.world[std::pair<int32_t, int32_t>(1, 0)] = a;
bw.world[std::pair<int32_t, int32_t>(0, 1)] = d;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment