[Dune-devel] MultiLinearGeometry with static GeometryType

Oliver Sander sander at igpm.rwth-aachen.de
Mon Oct 29 08:43:02 CET 2012


Hi Martin,
I would like to get your opinion on something.  As far as I understand
there are at least two things that BasicGeometry does and 
MultiLinearGeometry
does not.
   The first one is to provide a Geometry with a GeometryType/topologyId 
that is
known at compile time.  Do you think that feature is still necessary?  
Or is a
MultiLinearGeometry called with a compile-time topologyId argument just as
fast?  Do you plan to implement a MultiLinearGeometry with a compile-time
topologyId in the future?
One place where that feature is used is in AlbertaGrid.  Would you object
to replacing the BasicGeometry in AlbertaGrid by a MultiLinearGeometry?
   The second point is the construction of trace geometries.  Do you think
it is feasable/a good idea to have that functionality in a sort-of 
factory class?
Ideally, such a factory would take a Geometry implementation and a subentity
number as input, and provide the corresponding trace geometry.
Thanks for you time,
Oliver




More information about the Dune-devel mailing list