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

print warning for now when extrusion mesh is not recombined
parent e6e1d611
No related branches found
No related tags found
No related merge requests found
// $Id: meshGFaceExtruded.cpp,v 1.13 2006-11-28 03:35:29 geuzaine Exp $ // $Id: meshGFaceExtruded.cpp,v 1.14 2006-12-03 02:05:47 geuzaine Exp $
// //
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
// //
...@@ -151,6 +151,13 @@ int MeshExtrudedSurface(GFace *gf) ...@@ -151,6 +151,13 @@ int MeshExtrudedSurface(GFace *gf)
if(!ep || !ep->mesh.ExtrudeMesh) if(!ep || !ep->mesh.ExtrudeMesh)
return 0; return 0;
// FIXME
static bool warn_recombine = 1;
if(!ep->mesh.Recombine && warn_recombine){
Msg(WARNING, "Non-recombined surface extrusion has not been reimplemented yet");
warn_recombine = false;
}
// build a set with all the vertices on the boundary of gf // build a set with all the vertices on the boundary of gf
double old_tol = MVertexLessThanLexicographic::tolerance; double old_tol = MVertexLessThanLexicographic::tolerance;
MVertexLessThanLexicographic::tolerance = 1.e-12 * CTX.lc; MVertexLessThanLexicographic::tolerance = 1.e-12 * CTX.lc;
......
// $Id: meshGRegionExtruded.cpp,v 1.6 2006-11-28 03:35:29 geuzaine Exp $ // $Id: meshGRegionExtruded.cpp,v 1.7 2006-12-03 02:05:47 geuzaine Exp $
// //
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
// //
...@@ -175,6 +175,14 @@ int MeshExtrudedVolume(GRegion *gr) ...@@ -175,6 +175,14 @@ int MeshExtrudedVolume(GRegion *gr)
if(!ep || !ep->mesh.ExtrudeMesh || ep->geo.Mode != EXTRUDED_ENTITY) if(!ep || !ep->mesh.ExtrudeMesh || ep->geo.Mode != EXTRUDED_ENTITY)
return 0; return 0;
// FIXME
static bool warn_recombine = 1;
if(!ep->mesh.Recombine && warn_recombine){
Msg(WARNING, "Non-recombined volume extrusion has not been reimplemented yet");
warn_recombine = false;
}
// build a set with all the vertices on the boundary of gr // build a set with all the vertices on the boundary of gr
double old_tol = MVertexLessThanLexicographic::tolerance; double old_tol = MVertexLessThanLexicographic::tolerance;
MVertexLessThanLexicographic::tolerance = 1.e-12 * CTX.lc; MVertexLessThanLexicographic::tolerance = 1.e-12 * CTX.lc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment