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

*** empty log message ***

parent 4c9c6aa2
No related branches found
No related tags found
No related merge requests found
// $Id: BackgroundMesh.cpp,v 1.34 2008-02-05 14:40:30 remacle Exp $
// $Id: BackgroundMesh.cpp,v 1.35 2008-02-15 20:02:14 geuzaine Exp $
//
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
//
......@@ -79,7 +79,6 @@ static double max_surf_curvature(const GEdge *ge, double u)
SPoint2 par = ge->reparamOnFace((*it),u,1);
double cc = (*it)->curvature(par);
max_curvature = std::max(cc, max_curvature);
// if (ge->tag() == 66)printf("%12.5E %12.5E %d %12.5E %12.5E\n",par.x(),par.y(),(*it)->tag(),cc,max_curvature);
++it;
}
return max_curvature;
......@@ -197,14 +196,9 @@ double BGM_MeshSize(GEntity *ge, double U, double V, double X, double Y, double
if(CTX.mesh.lc_from_curvature && ge->dim() <= 2 )
lc = std::min (lc,LC_MVertex_CURV(ge, U, V));
lc = std::max(lc,CTX.mesh.lc_min*CTX.mesh.lc_factor);
lc = std::min(lc,CTX.mesh.lc_max*CTX.mesh.lc_factor);
// if (ge->tag() == 200 || ge->tag() == 202|| ge->tag() == 162|| ge->tag() == 163|| ge->tag() == 161|| ge->tag() == 141){
// printf("%d %d %12.5E %12.5E %12.5E\n",ge->dim(),ge->tag(),LC_MVertex_CURV(ge, U, V),LC_MVertex_PNTS(ge, U, V),lc);
// }
if(lc <= 0.){
Msg(GERROR, "Incorrect char. length lc = %g: using default instead", lc);
return l3 * CTX.mesh.lc_factor;
......
$Id: TODO,v 1.66 2007-11-12 10:48:17 colignon Exp $
$Id: TODO,v 1.67 2008-02-15 20:02:24 geuzaine Exp $
********************************************************************
......@@ -62,11 +62,6 @@ add support for Patran mesh files
********************************************************************
reinterface Triangle for plane surfaces and/or for the generation of
the initial mesh
********************************************************************
Bug: need to better understand how Netgen deals with characteristic
lengths: a larger geometry (with appropriately scaled lcs) leads to a
larger mesh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment