mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-24 10:32:03 +05:00
Boundary layers - don't ignore edges on cylinder sides when smoothing growth vectors
This commit is contained in:
parent
5a66cbee72
commit
3f28651e63
@ -139,7 +139,7 @@ void BoundaryLayerTool ::InterpolateGrowthVectors()
|
|||||||
faces.Append(sei);
|
faces.Append(sei);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (faces.Size() == 2)
|
if (faces.Size() == 2 && mesh[faces[0]].GetIndex() != mesh[faces[1]].GetIndex())
|
||||||
{
|
{
|
||||||
auto n0 = getNormal(mesh[faces[0]]);
|
auto n0 = getNormal(mesh[faces[0]]);
|
||||||
auto n1 = getNormal(mesh[faces[1]]);
|
auto n1 = getNormal(mesh[faces[1]]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user