Dear Dune,<br><br>I needed to extract the gridtype from the GmshReader and hence, for the same purpose, <br>I have made the GridType public in my gmshreader.hh file in the defintion of GmshReader class definition by adding the following line<br>
<br>typedef GridType GridImp;<br> <br>I think it is a good idea for me, what do you think?<br>Has anybody ever felt this need? <br>I am creating a framework over dune, and there is a class named as DeviceFactory which creates a grid and then collects the grid data <br>
from the file and then converts the data into a form which i am using and then after that sends all the information to a class Device.<br>I was already passing the GmshReader<GridImp> as a template Parameter to the DeviceFactory<br>
and I found the extra GridImp Parameter that I had to pass to create the grid redundant. and so the change. <br><br clear="all">Cheers and Regards<br>Jayesh Vinay Badwaik<br>Electronics and Communication Engineering<br>VNIT, Nagpur<br>
INDIA<br><br>-----------------------------------------------------------------------------------------------------------------------------------------------<br>"We are servants rather than masters in mathematics" -- Charles Hermite<br>
<br>