mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Merge branch 'fix_point_in_sphere' into 'master'
fix glued point in sphere (was removed by compress) See merge request ngsolve/netgen!626
This commit is contained in:
commit
761f896164
@ -4043,6 +4043,9 @@ namespace netgen
|
|||||||
pused[seg[j]] = true;
|
pused[seg[j]] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for(auto& pe : pointelements)
|
||||||
|
pused[pe.pnum] = true;
|
||||||
|
|
||||||
for (int i = 0; i < openelements.Size(); i++)
|
for (int i = 0; i < openelements.Size(); i++)
|
||||||
{
|
{
|
||||||
const Element2d & el = openelements[i];
|
const Element2d & el = openelements[i];
|
||||||
@ -4129,6 +4132,9 @@ namespace netgen
|
|||||||
seg[j] = op2np[seg[j]];
|
seg[j] = op2np[seg[j]];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for(auto& pe : pointelements)
|
||||||
|
pe.pnum = op2np[pe.pnum];
|
||||||
|
|
||||||
for (int i = 1; i <= openelements.Size(); i++)
|
for (int i = 1; i <= openelements.Size(); i++)
|
||||||
{
|
{
|
||||||
Element2d & el = openelements.Elem(i);
|
Element2d & el = openelements.Elem(i);
|
||||||
|
Loading…
Reference in New Issue
Block a user