Commit 011a26bc authored by David Thompson's avatar David Thompson Committed by Burlen Loring

Wrap grid in all 3 dimensions.

DIY's decomposer should probably have generated an error when
initialized with only 1 entry but 3 dimensions. Or it should
broadcast the single value to all dimensions (but it doesn't
because the behavior changes with 3 values).
parent 55a1b7eb
......@@ -324,7 +324,7 @@ int main(int argc, char** argv)
diy::RegularDecomposer<Bounds>::BoolVector share_face;
diy::RegularDecomposer<Bounds>::BoolVector wrap(true);
diy::RegularDecomposer<Bounds>::BoolVector wrap(3, true);
diy::RegularDecomposer<Bounds>::CoordinateVector ghosts = {ghostLevels, ghostLevels, ghostLevels};
// decompose the domain
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