<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:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Ciao Francesco,</p>
<p><br>
</p>
<p>from the documentation:</p>
<p><br>
</p>
<p></p>
<div> In addition to the element and vertex information it is possible to add</div>
<div> a set of parameters through the DGF file. Using the construction</div>
<div> mechanism via the Dune::GridPtr<GridType> class these parameters can be</div>
<div> accessed using the</div>
<div> Dune::GridPtr<GridType>::parameters(const Entity& en)</div>
<div> method. Depending on the codimentsion of \c en the method returns either</div>
<div> the element or vertex parameters of that entity in the DGF file.</div>
<div> The number of parameters for a given</div>
<div> codimension can be retrived using the method</div>
<div> Dune::GridPtr<GridType>::nofParameters.</div>
<div> In the case of parallel runs only the process with rank zero reads the</div>
<div> dgf file and thus the parameters are only available on that processor.</div>
<div> Do not call loadBalance (or for that matter globalRefine, adapt) on the</div>
<div> grid instance before retrieving the parameters. To simplify the handling</div>
<div> of parameters in a parallel run the Dune::GridPtr<GridType>::loadBalance</div>
<div> method can be used to distribute the macro grid and the parameters.</div>
<div> Afterwards the parameters can be extracted on each processor using the</div>
<div> method GridPtr<GridType>::parameters.</div>
<div><br>
</div>
<p></p>
Moreover, I would suggest you to use a more recent version of dune-fem-howto (look here <a href="https://gitlab.dune-project.org/dune-fem/dune-fem-howto" class="OWAAutoLink" id="LPlnk646461">https://gitlab.dune-project.org/dune-fem/dune-fem-howto</a>) which
is compatible with the current stable release of dune-fem (v. 2.4.1) and with the unstable dune-fem ( v. 3.0.0).
<div><br>
</div>
<div>Cheers,</div>
<div>Marco
<div style="color: rgb(0, 0, 0);"></div>
</div>
</div>
</body>
</html>