[Dune-devel] [Dune-Commit] dune-grid r8762 - trunk/dune/grid
christian.engwer at uni-muenster.de
Sun Jan 20 13:55:18 CET 2013
On Sun, Jan 20, 2013 at 01:13:10PM +0100, Oliver Sander wrote:
> Am 20.01.2013 13:05, schrieb Christian Engwer:
> >Hi Oli,
> >>Take the type from the method argument from the GridTraits class, rather than stating it directly.
> >>This gives the same type, but it makes the template argument deduction fail.
> >>Therefore, change the template parameter of method 'entityPointer' from
> >>'int codim' to 'typename Seed'
> >just as a comment... it might lead to stranger errors if the users
> >accidentially passes a non-matching seed
> This is true. But this is how the original implementors of
> EntitySeed implemented it.
> It was done differently in UGGrid and OneDGrid only because of my ignorance.
> My current aim is not to discuss pros and cons of the current
> EntitySeed implementation,
> I just want consistency across all grids.
fair enough ;-)
More information about the Dune-devel