Merge branch 'fix_bisect_quad' into 'master'

add GeomInfo for bisecting quads

See merge request jschoeberl/netgen!343
This commit is contained in:
Joachim Schöberl 2020-10-27 10:38:38 +00:00
commit f51ad8eed5

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;