mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
boundarylayers - fix inverted tets
This commit is contained in:
parent
d7a1dda042
commit
2287c5c0c9
@ -546,9 +546,9 @@ namespace netgen
|
|||||||
for(auto& p : nel.PNums())
|
for(auto& p : nel.PNums())
|
||||||
{
|
{
|
||||||
if(p == moved[0])
|
if(p == moved[0])
|
||||||
p = p2;
|
|
||||||
if(p == fixed[0])
|
|
||||||
p = p1;
|
p = p1;
|
||||||
|
else if(p == fixed[0])
|
||||||
|
p = p2;
|
||||||
}
|
}
|
||||||
p1 = p2;
|
p1 = p2;
|
||||||
mesh.AddVolumeElement(nel);
|
mesh.AddVolumeElement(nel);
|
||||||
|
Loading…
Reference in New Issue
Block a user