<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"></p>
<p style="margin-top:0;margin-bottom:0">Hi Stefan.</p>
<p style="margin-top:0;margin-bottom:0">You need to specify which 'flavour' of alugrid you want to use, i.e., which element type (cube or simplex) and (for simplex grids) which refinement type (conforming or non conforming). Using the define in the way you
 have it the options are</p>
<div>ALUGRID_CONFORM (simplex with conforming refinment using bisectio)</div>
<div>ALUGRID_SIMPLEX (simplex with non conforming refinement using quartering)</div>
<div>ALUGRID_CUBE (cube element with non conforming refinement using quartering)<br>
</div>
<p style="margin-top:0;margin-bottom:0">I hope that solves your problem.</p>
<p style="margin-top:0;margin-bottom:0">Andreas</p>
<p style="margin-top:0;margin-bottom:0">PS: please always attach the actual error message you are getting since that significantly helps figuring out what the problem could be</p>
<p style="margin-top:0;margin-bottom:0">PPS: we are in the process of releasing 2.6 versions of dune-fem and dune-fem-howto. There is a releases/2.6 branch of dune-fem and I think (I can't check at the moment0 also a branch for dune-fem-howto. If not then that's
 on its way.<br>
</p>
<br>
<p></p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> dune-fem <dune-fem-bounces@lists.dune-project.org> on behalf of Stefan Vater <vater@math.fu-berlin.de><br>
<b>Sent:</b> 10 September 2018 11:29<br>
<b>To:</b> dune-fem@lists.dune-project.org<br>
<b>Subject:</b> [dune-fem] using dune-fem-howto</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi,<br>
<br>
I am trying to understand a bit of dune applied to finite volumes using the <br>
dune-fem-howto. However, that seems to be not really up-to-date at the moment. <br>
I got it to work, going back to the 2.5 release for all modules and setting <br>
<br>
-DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS=TRUE<br>
-DDUNE_GRID_GRIDTYPE_SELECTOR=ON<br>
<br>
in CMAKE_FLAGS<br>
<br>
Now, I would like to test grid adaptation. It seems that in its original state <br>
YASPGRID is used, so there is only uniform refinement. How can I use another <br>
grid, so that there is also adaptive refinement. Changing <br>
target_compile_definitions in CMakeLists.txt to<br>
<br>
target_compile_definitions( solution-10.fv PRIVATE <br>
ALUGRID;GRIDDIM=2;WANT_ISTL;POLORDER=1 )<br>
<br>
produces compiler errors for me, although dune-alugrid is installed.<br>
<br>
Any help is appreciated!<br>
<br>
Stefan<br>
-- <br>
Stefan Vater<br>
Geophysical Fluid Dynamics<br>
Institut für Mathematik<br>
Freie Universität Berlin<br>
Arnimallee 6, 14195 Berlin, Germany<br>
Phone: +49 (30) 838-75368<br>
e-mail: vater@math.fu-berlin.de<br>
<br>
<br>
<br>
_______________________________________________<br>
dune-fem mailing list<br>
dune-fem@lists.dune-project.org<br>
<a href="https://lists.dune-project.org/mailman/listinfo/dune-fem" id="LPlnk701938" class="OWAAutoLink" previewremoved="true">https://lists.dune-project.org/mailman/listinfo/dune-fem</a></div>
</span></font></div>
</div>
</div>
</body>
</html>