add GeomInfo for bisecting quads

This commit is contained in:
Michael 2020-10-27 07:54:26 +01:00
parent 832485e41a
commit a3391519f0

View File

@ -1082,8 +1082,12 @@ namespace netgen
MarkedQuad & mq) MarkedQuad & mq)
{ {
for (int i = 0; i < 4; i++) for (int i = 0; i < 4; i++)
mq.pnums[i] = el[i]; {
Swap (mq.pnums[2], mq.pnums[3]); mq.pnums[i] = el[i];
mq.pgeominfo[i] = el.GeomInfoPi (i+1);
}
Swap (mq.pnums[2], mq.pnums[3]);
Swap (mq.pgeominfo[2], mq.pgeominfo[3]);
mq.marked = 0; mq.marked = 0;
mq.markededge = 0; mq.markededge = 0;