mirror of
https://github.com/NGSolve/netgen.git
synced 2025-02-14 14:23:08 +05:00
Less tolerance for smoothing of boundarylayer vectors
This commit is contained in:
parent
7aff94046f
commit
d1228b6ce9
@ -143,7 +143,7 @@ void BoundaryLayerTool ::InterpolateGrowthVectors()
|
|||||||
{
|
{
|
||||||
auto n0 = getNormal(mesh[faces[0]]);
|
auto n0 = getNormal(mesh[faces[0]]);
|
||||||
auto n1 = getNormal(mesh[faces[1]]);
|
auto n1 = getNormal(mesh[faces[1]]);
|
||||||
if (n0 * n1 < 0.9)
|
if (n0 * n1 < 0.99)
|
||||||
no_angles = false;
|
no_angles = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -170,7 +170,7 @@ void BoundaryLayerTool ::InterpolateGrowthVectors()
|
|||||||
n.Normalize();
|
n.Normalize();
|
||||||
bool is_corner = false;
|
bool is_corner = false;
|
||||||
for (auto si : p2sel[pi])
|
for (auto si : p2sel[pi])
|
||||||
if (getNormal(mesh[si]) * n < 0.9)
|
if (getNormal(mesh[si]) * n < 0.99)
|
||||||
is_corner = true;
|
is_corner = true;
|
||||||
if (!is_corner)
|
if (!is_corner)
|
||||||
point_types[pi] = SURFACEPOINT;
|
point_types[pi] = SURFACEPOINT;
|
||||||
|
Loading…
Reference in New Issue
Block a user