This commit is contained in:
Joachim Schoeberl 2014-01-07 10:12:42 +00:00
parent 486ccac9ad
commit 36a470fe04
2 changed files with 2 additions and 4 deletions

View File

@ -249,7 +249,6 @@ namespace netgen
double useh = h; double useh = h;
if (hl > 0) useh = min2 (h, hl); if (hl > 0) useh = min2 (h, hl);
if (hr > 0) useh = min2 (h, hr); if (hr > 0) useh = min2 (h, hr);
Partition(GetSpline(i), mp, useh, elto0, mesh2d, searchtree, i+1); Partition(GetSpline(i), mp, useh, elto0, mesh2d, searchtree, i+1);
} }
else else

View File

@ -436,8 +436,7 @@ namespace netgen
infile >> numdomains; infile >> numdomains;
materials.SetSize(numdomains) ; materials.SetSize(numdomains) ;
maxh.SetSize ( numdomains ) ; maxh.SetSize ( numdomains ) ;
for ( int i = 0; i < numdomains; i++) maxh = 1e99;
maxh[i] = 1000;
TestComment ( infile ); TestComment ( infile );
@ -467,7 +466,7 @@ namespace netgen
if (infile.good()) if (infile.good())
infile.putback (ch); infile.putback (ch);
maxh[domainnr-1] = flags.GetNumFlag ( "maxh", 1000); maxh[domainnr-1] = flags.GetNumFlag ( "maxh", 1e99);
} }
return; return;
} }