allow free pyramids

This commit is contained in:
Christopher Lackner 2022-02-09 19:27:24 +01:00
parent 935da1575c
commit e86585c715
2 changed files with 2 additions and 48 deletions

View File

@ -281,7 +281,8 @@ namespace netgen
MeshingParameters mpquad = mp;
mpquad.giveuptol = 15;
// mpquad.giveuptol = 15;
mpquad.giveuptol = 200;
mpquad.baseelnp = 4;
mpquad.starshapeclass = 1000;
mpquad.check_impossible = qstep == 1; // for prisms only (air domain in trafo)

View File

@ -100,53 +100,6 @@ freeset
endrule
rule "connect pyramid"
quality 100
mappoints
(0, 0, 0);
(1, 0, 0);
(1, 1, 0);
(0, 1, 0);
(0.5, 0.5, -0.5);
mapfaces
(1, 2, 3, 4) del;
newpoints
newfaces
(1, 2, 5);
(2, 3, 5);
(3, 4, 5);
(4, 1, 5);
elements
(1, 2, 3, 4, 5);
freezone2
{ 1 P1 };
{ 1 P2 };
{ 1 P3 };
{ 1 P4 };
{ 1 P5 };
freeset
1 2 3 5;
freeset
1 3 4 5;
endrule
rule "pyramid with one trig"
quality 1