Closed inducer closed 2 years ago
Does this require any special support? I was hoping it would just work™ based on the node tuples it gets (should test that!).
I assumed it didn't since submesh_for_shape
was specialized for Hypercube
. Maybe just broadening it to TensorProductShape
suffices?
Closing here, adding to my review.
Actually, just looked over it a bit and it should fail for line x triangle
because of
vertex_node_tuples = [nt[::-1] for nt in gnitb(2, dims)]
which assumes hypercubes. Should be possible to fix that by taking the vertex_node_tuples
to be the first order node tuples for that tensor product shape.
(This'll be needed/become possible after #41 merges.)
cc @alexfikl