Skip to content
Snippets Groups Projects
Commit a3e62805 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent a452d9b4
No related branches found
No related tags found
No related merge requests found
...@@ -142,6 +142,11 @@ static void extrudeMesh(GFace *from, GRegion *to, ...@@ -142,6 +142,11 @@ static void extrudeMesh(GFace *from, GRegion *to,
} }
} }
} }
if(from->quadrangles.size() && !ep->mesh.Recombine){
Msg::Error("Cannot extrude quadrangles without Recombine");
}
else{
for(unsigned int i = 0; i < from->quadrangles.size(); i++){ for(unsigned int i = 0; i < from->quadrangles.size(); i++){
for(int j = 0; j < ep->mesh.NbLayer; j++) { for(int j = 0; j < ep->mesh.NbLayer; j++) {
for(int k = 0; k < ep->mesh.NbElmLayer[j]; k++) { for(int k = 0; k < ep->mesh.NbElmLayer[j]; k++) {
...@@ -152,6 +157,7 @@ static void extrudeMesh(GFace *from, GRegion *to, ...@@ -152,6 +157,7 @@ static void extrudeMesh(GFace *from, GRegion *to,
} }
} }
} }
}
static void insertAllVertices(GRegion *gr, static void insertAllVertices(GRegion *gr,
std::set<MVertex*, MVertexLessThanLexicographic> &pos) std::set<MVertex*, MVertexLessThanLexicographic> &pos)
......
...@@ -50,3 +50,6 @@ clean: ...@@ -50,3 +50,6 @@ clean:
depend: depend:
true true
# DO NOT DELETE THIS LINE
nglib_addon.o: ../../Common/GmshMessage.h
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment