mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
local mesh-size also for 2D
This commit is contained in:
parent
dfca84b77b
commit
c55767369a
@ -237,7 +237,10 @@ namespace netgen
|
|||||||
mesh2d.RestrictLocalH (Point<3> (x(0), x(1), 0), min2(hc, hcurve));
|
mesh2d.RestrictLocalH (Point<3> (x(0), x(1), 0), min2(hc, hcurve));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (auto mspnt : mp.meshsize_points)
|
||||||
|
mesh2d.RestrictLocalH (mspnt.pnt, mspnt.h);
|
||||||
|
|
||||||
// first add all vertices (for compatible orientation on periodic bnds)
|
// first add all vertices (for compatible orientation on periodic bnds)
|
||||||
{
|
{
|
||||||
double diam2 = Dist2(pmin, pmax);
|
double diam2 = Dist2(pmin, pmax);
|
||||||
|
Loading…
Reference in New Issue
Block a user