Commit c66e1b7b authored by Christophe Geuzaine's avatar Christophe Geuzaine

skip Netgen optimization for hybrid mesh (additional fix for #466)

parent 4c394515
Pipeline #2953 passed with stage
in 56 minutes and 20 seconds
......@@ -335,6 +335,11 @@ void optimizeMeshGRegionNetgen::operator()(GRegion *gr, bool always)
ExtrudeParams *ep = gr->meshAttributes.extrude;
if(ep && ep->mesh.ExtrudeMesh && ep->geo.Mode == EXTRUDED_ENTITY) return;
if(gr->prisms.size() || gr->hexahedra.size() || gr->pyramids.size()){
Msg::Info("Skipping Netgen optimizer for hybrid mesh");
return;
}
#if !defined(HAVE_NETGEN)
Msg::Error("Netgen optimizer is not compiled in this version of Gmsh");
#else
......
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