[Dune] Dune::Grid::type() and modularization

Markus Blatt mblatt at hal.iwr.uni-heidelberg.de
Mon Jul 24 11:29:25 CEST 2006


On Fri, Jul 21, 2006 at 12:41:14PM +0200, Oliver Sander wrote:
> Seems okay to me.  If need be, at run-tim you can still do everything with
> a name string instead of an enum value.
> 

Or via template specialization.

Maybe this is also an idea to specify the grid name itself:

template<typename G>
struct GridName{
    const static std:string name;
}


Just out of curiosity:

Can someone tell me where the grid name ist used?

Markus
-- 
DUNE -- The Distributed And Unified Numerics Environment 
<http://www.dune-project.org>




More information about the Dune mailing list