mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
Merge branch 'fix_bisect_quad' into 'master'
add GeomInfo for bisecting quads See merge request jschoeberl/netgen!343
This commit is contained in:
commit
f51ad8eed5
@ -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];
|
{
|
||||||
|
mq.pnums[i] = el[i];
|
||||||
|
mq.pgeominfo[i] = el.GeomInfoPi (i+1);
|
||||||
|
}
|
||||||
Swap (mq.pnums[2], mq.pnums[3]);
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user