Hi, <br>I am using the following code <br><br> typedef Dune::ALUSimplexGrid<dim,dim> GridType;<br> typedef GridType::LeafGridView GV;<br> <br> // Grid Defined Somewhere in between<br>
const GV& gv=grid.leafView();<br> Dune::SingleCodimSingleGeomTypeMapper<GV,0> mapper(gv);<br><br> std::cout<<mapper.size()<<std::endl;<br> std::vector<double> data(mapper.size());<br>
std::cout<<data.size()<<std::endl;<br><br>and it is not compiling properly. The problem is with the mapper.size() function <br>because whenever i comment out the last three lines, there are no compilation errors<br>
and the programs also runs completely and exits with no errors.<br><br>Am I doing anything wrong here??<br clear="all"><br>Cheers and Regards,<br>Jayesh Vinay Badwaik<br>-----------------------------------------------------------------------------------------------------------<br>
<div>
<p>We are servants rather than masters in mathematics --- Charles Hermite<br></p>
</div><br><br><br><br>