<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi, </p>
<p>I'm trying to implement a mesh generator, which puts a 2
dimensional surface in a 3 dimensional cube and then fills the
space beneath the surface with cells. Therefore I use
Dune::Gridfactory and UGGrid as grid type. For a lot different and
also complicated surfaces my approach works fine, while others
result in error messages like the following: <br>
</p>
<blockquote>
<p>[jonas-MacBookPro:00477] *** Process received signal ***<br>
[jonas-MacBookPro:00477] Signal: Segmentation fault (11)<br>
[jonas-MacBookPro:00477] Signal code: Address not mapped (1)</p>
<p>... <br>
</p>
[jonas-MacBookPro:00477] [ 9]
./mesh_generator_min_example(_start+0x2a)[0x55d6725f60ca]<br>
[jonas-MacBookPro:00477] *** End of error message ***<br>
Segmentation fault (core dumped)<i><br>
<br>
</i><i>(The full terminal output is attached in error_log.txt. )<br>
</i></blockquote>
<p>Thereby I find it really hard to find a pattern for which
surfaces the mesh is created successfully and for which it doesn't
work. Maybe someone already had this or a similar problem. I also
attached a minimal example. <br>
</p>
<p>I'm running dune 2.8 on Ubuntu 18.04.4 (as dual-boot on a
MacBookPro (see above)). <br>
</p>
<p>Any help is highly appreciated. Best regards, <br>
</p>
<p>Jonas <br>
</p>
</body>
</html>