local mesh-size also for 2D

This commit is contained in:
Joachim Schöberl 2018-11-08 10:37:33 +01:00
parent dfca84b77b
commit c55767369a

View File

@ -238,6 +238,9 @@ namespace netgen
}
}
for (auto mspnt : mp.meshsize_points)
mesh2d.RestrictLocalH (mspnt.pnt, mspnt.h);
// first add all vertices (for compatible orientation on periodic bnds)
{
double diam2 = Dist2(pmin, pmax);