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

fix msg

parent 173e61f4
No related branches found
No related tags found
No related merge requests found
......@@ -98,10 +98,7 @@ static double F_Lc(GEdge *ge, double t)
SVector3 der = ge->firstDer(t);
const double d = norm(der);
//printf("lc_here=%g d=%g nb =%g\n", lc_here,d, d/lc_here);
return d / lc_here;
}
static double F_Transfinite(GEdge *ge, double t_)
......@@ -273,15 +270,16 @@ void meshGEdge::operator() (GEdge *ge)
ge->setLength(length);
Points.clear();
if(length == 0. && CTX::instance()->mesh.toleranceEdgeLength == 0.)
if(length == 0.){
if(CTX::instance()->mesh.toleranceEdgeLength == 0.)
Msg::Error("Curve %d has a zero length", ge->tag());
else
Msg::Debug("Curve %d has a zero length", ge->tag());
}
if(length < CTX::instance()->mesh.toleranceEdgeLength) {
// printf("AAAAAAAAAAAAAAAAAAAARGHHHHHHHHHHHHHHHHHHHHHHHH\n");
if(length < CTX::instance()->mesh.toleranceEdgeLength)
ge->setTooSmall(true);
}
// Integrate detJ/lc du
double a;
int N;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment