[Dune] [#457] adding generic geometries

Dune dune at dune-project.org
Mon Nov 10 16:03:06 CET 2008


A new Flyspray task has been opened.  Details are below. 

User who did this - Andreas Dedner (dedner) 

Attached to Project - Dune
Summary - adding generic geometries
Task Type - Feature Request
Category - Discussion
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - Problem: The new generic geometries lead to some renumbering of subentities
   dim>codim>1 for cube,
   dim>codim>0 for simplex,
       codim>0 for pyramid/prism
Therefore, some methods taking or returning numbers for subentity will
behave differently.

Solution: renaming of corresponding methods and classes.

Methods (hopefully complete):
Old                                  -> New
Intersection::intersectionInSelf     -> Intersection::geometryInInside
Intersection::intersectionInNeighbor -> Intersection::geometryInOutside
Intersection::numberInSelf           -> Intersection::numberInInside
Intersection::numberInNeighbor       -> Intersection::numberInOutside

Entity::entity                       -> Entity::subEntity
IndexSet::subIndex(E,i)              -> IndexSet::subIndex<codim,subcodim>(E,i) or
IdSet::subIndex(E,i)                 -> IdSet::subId<codim,subcodim>(E,i) or
Geometry::operator[]                 -> Geometry::corner

Old                                  -> New
ReferenceElementContainer            -> ReferenceElements (extends old struct)
ReferenceElement                     -> not needed - get type from REProvider 

1) Which part of grid/genericgeometry should be moved to dune-common 
   (prehaps needed for dune-localfunction)?
   Suggestion: at least the topology stuff, prehaps reference elements.
2) Geometry could return (together with the dune type) also the
   generic topology id (is an uint and together with dimension
   can be used for array lookup).
3) while we are at it, the method Intersection::intersectionGlobal could be
   renamed to Intersection::geometry.

More information can be found at the following URL:

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.

More information about the Dune mailing list