#1263 SGrid refines when marked for coarsening
Metadata
Property | Value |
---|---|
Reported by | Carsten Gräser (graeser@math.fu-berlin.de) |
Reported at | Mar 4, 2013 10:23 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Oliver Sander (oliver.sander@tu-dresden.de) |
Last edited at | Sep 26, 2014 18:05 |
Closed by | Oliver Sander (oliver.sander@tu-dresden.de) |
Closed at | Sep 26, 2014 18:05 |
Closed in version | Unknown |
Resolution | Won't fix |
Comment | At the 2014 dev meeting in Berlin we decided that SGrid would be removed after the dune-grid 2.4 release. In the light of this, I don't think it makes sense to still fix this issue. Please reopen if you disagree. |
Description
Currently SGrid does always call globalRefine() on adapt() with a strange consequence: If you only mark elements for coarsening and call adapt() the grid will indeed be refined. While this is compliant with the interface (only coarsen if possible), I doubt that anyone relies on this.
I suggest, to implement the behaviour of YaspGrid: Call globalRefine(r) with r being the maximum of zero and all refinement mark. If no one objects (strictly speaking, this is an interface change), I'll implement this.