[Dune] method pointer on entity.

Robert Kloefkorn robertk at mathematik.uni-freiburg.de
Fri Sep 5 15:49:03 CEST 2008


Hello Dune,

as decided in Berlin we wanted to add a method pointer that returns an 
EntityPointer on all entities. To create an EntityPointer one would write

EntityPointer p = entity.pointer();


Alternatively, one could add an explicit constructor taking an entity to 
the EntityPointer class. With this one could write

EntityPointer p( entity );

I prefer the second way.
What do the developers think?

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