mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
skip deleted elements in tables
This commit is contained in:
parent
ca88e90a31
commit
cec87bb2ff
@ -2421,6 +2421,7 @@ namespace netgen
|
||||
[&](auto & table, ElementIndex ei)
|
||||
{
|
||||
const Element & el = (*this)[ei];
|
||||
if(el.IsDeleted()) return;
|
||||
if (dom == 0 || dom == el.GetIndex())
|
||||
{
|
||||
if (el.GetNP() == 4)
|
||||
@ -2742,6 +2743,7 @@ namespace netgen
|
||||
for (ElementIndex ei : elsonpoint[pi])
|
||||
{
|
||||
const Element & el = VolumeElement(ei);
|
||||
if(el.IsDeleted()) continue;
|
||||
|
||||
if (dom == 0 || el.GetIndex() == dom)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user