Skip to content

#262 postAdapt() for P1Function uses leaf indices of non-leaf vertices

Metadata

Property Value
Reported by Carsten Gräser (graeser@math.fu-berlin.de)
Reported at Feb 13, 2007 13:12
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Carsten Gräser (graeser@math.fu-berlin.de)
Last edited at Jul 13, 2009 15:03
Closed by Carsten Gräser (graeser@math.fu-berlin.de)
Closed at Jul 13, 2009 15:03
Closed in version Unknown
Resolution Won't fix
Comment No more maintenance for dune-disc

Description

The postAdapt() method uses leaf indices of vertices that are not subentities of leaf elements. In general this is undefined (it seems to work for the official grid implementation)

Currently the methods does the following: 1)iterates over all elements on levels 1...maxLevel. 2)if vertex is not processes interpolate in father element using geometryInFather

The only solution I can imagine is to build a id->leafIndex map for vertices in the new grid. (similar to the approach used for the old grid) If no one opposes I'll do this change to fix the bug.