mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
bix maxh
This commit is contained in:
parent
486ccac9ad
commit
36a470fe04
@ -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
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user