[Dune] DGFParser interface
Robert Kloefkorn
robertk at mathematik.uni-freiburg.de
Mon Jul 24 16:56:26 CEST 2006
Hi all,
i would suggest to handle this problem like this:
The class GridPtr<GridType> is derived from GridType and the
specialisations call the right constructor and they already do in the
specialised generate method. Then GridPtr<GridType> is of the type
GridType and can be treated as GridType.
This in an easy way to add a constructor common for all grids, taking
the DGF file.
Regards,
R
--
Robert Klöfkorn <robertk at mathematik.uni-freiburg.de>
Mathematisches Institut Tel: +49 (0) 761 203 5631
Abt. für Angewandte Mathematik Fax: +49 (0) 761 203 5632
Universität Freiburg
Hermann-Herder-Str. 10
79104 Freiburg
http://www.mathematik.uni-freiburg.de/IAM/homepages/robertk
More information about the Dune
mailing list