Follow-up from "Improve usability"
Creating the CartTopology with the constructor pointed out in the discussion below can only be used if dim==6
.
If dim!=6
calling the constructor should throw an error in the current implementation.
The following discussion from !133 (merged) should be addressed:
-
@nilsch started a discussion: We should catch an error in here. This only makes sense for
dim==6
. Everything else could lead to an error. Everything else could give undefined behavior. -
Additionally dim
is a really bad naming. Should be changed toNdim
or something similar.