diff --git a/Mesh/BackgroundMesh.cpp b/Mesh/BackgroundMesh.cpp index 89717c853005a28f7adfdce6451bc40267ff30a5..72df1657b44c439e566e7c1b48c82d6c2de9115b 100644 --- a/Mesh/BackgroundMesh.cpp +++ b/Mesh/BackgroundMesh.cpp @@ -1,4 +1,4 @@ -// $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; @@ -196,15 +195,10 @@ 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; diff --git a/doc/TODO b/doc/TODO index 19398c2afd347d55f82ceb2b3523c915b193e3b2..8fe7d10ee162d1e23372753da44aa20165e66a91 100644 --- a/doc/TODO +++ b/doc/TODO @@ -1,4 +1,4 @@ -$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