You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
generate_corners() uses the ShapeType and ShapeCascade classes to help figure out how to decompose the mesh into faces/edges/points. When you give "mixed" to ShapeType, it initializes with -1 for dims and other fields. This crashes later on in ShapeCascade when attempting to use dims as an array index.
For ShapeType(Node &topo), we can set dims to something sensible by examining the shape_map
For ShapeType(std::string &), we can't do anything better than dims=-1.
ShapeCascade for mixed doesn't make a lot of sense since the dimension 2,3 shapes depend on which shape of N elements is being considered
TopologyMetadata has special paths for polygonal meshes and for polyhedra. It probably needs special paths for mixed, or it needs to treat 3D mixed as polyhedral and 2D mixed as polygonal.
generate_corners()
uses the ShapeType and ShapeCascade classes to help figure out how to decompose the mesh into faces/edges/points. When you give "mixed" to ShapeType, it initializes with -1 for dims and other fields. This crashes later on in ShapeCascade when attempting to use dims as an array index.ShapeType(Node &topo)
, we can set dims to something sensible by examining theshape_map
ShapeType(std::string &)
, we can't do anything better than dims=-1.The text was updated successfully, but these errors were encountered: