<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Dune support team,<div><br></div><div>I have a problem with refining a very simple grid, introduced by a dgf file. When I try to a refinement using " <span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; ">alusimplexgrid->globalRefine(1); " The code crashes and returns the following message:</span></div><div><span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; "><br></span></div><div><span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; "><div>Assertion failed: (fabs( quadraturTetra3D < VolumeCalc > ( LinearMapping ( this->myvertex(0)->Point(), this->myvertex(1)->Point(), this->myvertex(2)->Point(), this->myvertex(3)->Point())).integrate1 (0.0) - _volume ) < 1e-10), function TetraTop, file serial/gitter_tetra_top.h, line 1114.</div><div>[pcp042851:89732] *** Process received signal ***</div><div>[pcp042851:89732] Signal: Abort trap (6)</div><div>[pcp042851:89732] Signal code: (0)</div><div>[pcp042851:89732] [ 0] 2 libSystem.B.dylib 0x00007fff8250666a _sigtramp + 26</div><div>[pcp042851:89732] [ 1] 3 libSystem.B.dylib 0x00007fff704855c0 __stack_chk_guard + 0</div><div>[pcp042851:89732] [ 2] 4 libSystem.B.dylib 0x00007fff82581c9c __pthread_markcancel + 0</div><div>[pcp042851:89732] [ 3] 5 hades3deltd 0x000000010033c30d _ZN12ALUGridSpace8TetraTopINS_14GitterBasisPll10ObjectsPll13TetraEmptyPllEEC1EiPNS_6Gitter9Geometric6hface3EiS8_iS8_iS8_iPS4_id + 2109</div><div>[pcp042851:89732] [ 4] 6 hades3deltd 0x000000010033d1a0 _ZN12ALUGridSpace8TetraTopINS_14GitterBasisPll10ObjectsPll13TetraEmptyPllEE9splitISO8Ev + 3632</div><div>[pcp042851:89732] [ 5] 7 hades3deltd 0x000000010033eb85 _ZN12ALUGridSpace8TetraTopINS_14GitterBasisPll10ObjectsPll13TetraEmptyPllEE15refineImmediateENS_6Gitter9Geometric9TetraRuleE + 325</div><div>[pcp042851:89732] [ 6] 8 hades3deltd 0x000000010033f308 _ZN12ALUGridSpace8TetraTopINS_14GitterBasisPll10ObjectsPll13TetraEmptyPllEE6refineEv + 488</div><div>[pcp042851:89732] [ 7] 9 hades3deltd 0x000000010028afbc _ZN12ALUGridSpace6Gitter6refineEv + 188</div><div>[pcp042851:89732] [ 8] 10 hades3deltd 0x00000001002d3410 _ZN12ALUGridSpace13GitterDunePll6refineEv + 1440</div><div>[pcp042851:89732] [ 9] 11 hades3deltd 0x00000001002c56a9 _ZN12ALUGridSpace13GitterDunePll25adaptWithoutLoadBalancingEv + 121</div><div>[pcp042851:89732] [10] 12 hades3deltd 0x00000001002a905c _ZN12ALUGridSpace13GitterDunePll9duneAdaptERNS_6Gitter20AdaptRestrictProlongE + 44</div><div>[pcp042851:89732] [11] 13 hades3deltd 0x0000000100023107 T.94442 + 503</div><div>[pcp042851:89732] [12] 14 hades3deltd 0x000000010002540c main + 5580</div><div>[pcp042851:89732] [13] 15 hades3deltd 0x00000001000071b4 start + 52</div><div>[pcp042851:89732] [14] 16 ??? 0x0000000000000002 0x0 + 2</div><div>[pcp042851:89732] *** End of error message ***</div><div>Abort trap</div><div><br></div><div>Since, the file is a ver simple 12 tetrahedra grid and I can not find any errors in it, I think it may be a problem with dune. I will be thankful if you have a look at the problem and let me know what is mainly the source of error.</div><div><br></div><div>Best regards</div></span></div><div><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Arya Fallahi, <div>Dr. sc. techn. ETH, </div><div>Computational Accelerator Scientist </div><div>Paul Scherrer Institute (PSI), </div><div>CH-5232 Villigen, Switzerland, </div><div><a href="mailto:arya.fallahi@psi.ch">arya.fallahi@psi.ch</a>, </div><div>+41(0)56 310 50 17<br><br></div></div>
</div>
P.S. The dgf file is as follows:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">DGF</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">vertex</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 0.000000e+00 0.000000e+00 0.000000e+00</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 0.000000e+00 1.000000e+03 0.000000e+00</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 1.000000e+03 0.000000e+00 0.000000e+00</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 0.000000e+00 0.000000e+00 1.000000e+03</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 0.000000e+00 1.000000e+03 1.000000e+03</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 1.000000e+03 0.000000e+00 1.000000e+03</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 4.997688e+02 5.002312e+02 0.000000e+00</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 4.997796e+02 5.002204e+02 1.000000e+03</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 0.000000e+00 5.000000e+02 5.000000e+02</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 5.000000e+02 0.000000e+00 5.000000e+02</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">#</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">simplex % tetrahedra</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">parameters 1</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 1 8 0 6 101</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 6 8 9 7 101</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 8 3 7 4 101</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 6 9 0 2 101</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 5 9 3 7 101</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 9 3 8 0 101</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 6 8 0 9 101</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 3 9 8 7 101</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 7 6 8 4 101</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 1 4 8 6 101</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 7 2 9 6 101</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 5 2 9 7 101</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">#</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">boundarysegments</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 0 6 2</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 0 1 6</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 3 4 7</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 3 7 5</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 7 4 6</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 1 6 4</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 5 7 2</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 7 6 2</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 8 4 3</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 1 4 8</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 3 0 8</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 1 8 0</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 5 3 9</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 5 9 2</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 9 3 0</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> 105 9 0 2</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">#</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">BOUNDARYDOMAIN</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">default 1 % all other boundary segments have id 1</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">#</div></div></body></html>