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

*** empty log message ***

parent e103b74b
No related branches found
No related tags found
No related merge requests found
// $Id: Generator.cpp,v 1.106 2006-11-26 03:25:09 geuzaine Exp $ // $Id: Generator.cpp,v 1.107 2006-11-27 18:14:03 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -189,7 +189,7 @@ bool TooManyElements(int dim){ ...@@ -189,7 +189,7 @@ bool TooManyElements(int dim){
for(GModel::viter it = GMODEL->firstVertex(); it != GMODEL->lastVertex(); ++it) for(GModel::viter it = GMODEL->firstVertex(); it != GMODEL->lastVertex(); ++it)
sumAllLc += (*it)->prescribedMeshSizeAtVertex(); sumAllLc += (*it)->prescribedMeshSizeAtVertex();
sumAllLc /= (double)GMODEL->numVertex(); sumAllLc /= (double)GMODEL->numVertex();
if(!sumAllLc || pow(CTX.lc / sumAllLc, dim) > 1.e7) if(!sumAllLc || pow(CTX.lc / sumAllLc, dim) > 1.e10)
return !GetBinaryAnswer("Your choice of characteristic lengths will likely produce\n" return !GetBinaryAnswer("Your choice of characteristic lengths will likely produce\n"
"a very large mesh. Do you really want to continue?\n\n" "a very large mesh. Do you really want to continue?\n\n"
"(To disable this warning in the future, select `Enable\n" "(To disable this warning in the future, select `Enable\n"
......
...@@ -124,5 +124,5 @@ Coherence; ...@@ -124,5 +124,5 @@ Coherence;
Extrude Surface {35, {0,0.0,19}} Extrude Surface {35, {0,0.0,19}}
{ {
Layers { {3,3,3}, {100,200,300}, {.1,.9,1.}} ; //Layers { {3,3,3}, {100,200,300}, {.1,.9,1.}} ;
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment