<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
Hi eveyone,<br>
<div><br>
I am trying to reproduce (with the stable version 2.1.1) some of the examples given in the Dune Grid Format (DGF), following the pdf manual on grids (page 23).<br>
The problem arises when I want to use GridPtr.<br>
<br>
In particular, when I try to read a .dgf file, as in this line:<br>
<br>
GridPtr <GridType> gridPtr ("myfile.dgf");<br>
<br>
the compiler tells me that there is neither GridType nor GridPtr declared.<br>
In particular, if I include:<br>
<br>
#include<dune/grid/io/file/dgfparser/dgfgridtype.hh><br>
<br>
I get this error:<br>
<br>
.../Dune_download/dune-grid-2.1.1/dune/grid/utility/gridtype.hh:24:6: error: #error "No grid type selected, typo in GRIDTYPE=...?"<br>
<br>
So, my questions are:<br>
<br>
1) Where (or how) do I have to put the definition of GRIDTYPE=ALUGRID_SIMPLEX ? <br>
2) Which scope resolution operator should I use, once the proper inclusion had been made? Simply Dune::GridPtr ?<br>
<br>
Thanks in advance!<br>
<br>
Andrea<br>
<br>
<div style="font-family: Tahoma; font-size: 13px;">__________________________________________________________<br>
<br>
Andrea Sacconi<br>
PhD student, Applied Mathematics<br>
AMMP Section, Department of Mathematics, Imperial College London,<br>
London SW7 2AZ, UK<br>
a.sacconi11@imperial.ac.uk<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>