#577 Introduce method update() for GridViews
Metadata
Property | Value |
---|---|
Reported by | Carsten Gräser (graeser@math.fu-berlin.de) |
Reported at | Jul 20, 2009 15:38 |
Type | Feature Request |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Oliver Sander (oliver.sander@tu-dresden.de) |
Last edited at | Nov 24, 2009 17:43 |
Closed by | Oliver Sander (oliver.sander@tu-dresden.de) |
Closed at | Nov 24, 2009 17:43 |
Closed in version | Unknown |
Resolution | Won't fix |
Comment | as decided on the meeting |
Description
Currently the behaviour of gridviews after a grid change is not specified. The Level- and LeafGridViews seem to be fully functional after adapt(). However this need not to be the case for any GridView so I suggent to define GridViews as invalid after adapt().
To cure an invalid GridView I propose to introduce a method GridView::update(). It could either return false or throw an exception if a GridView can't be updated.
Then all classes storing a GridView (e.g. FunctionSpaces, Basis, FEMapper, ...) update it on there own if e.g. their update method is called.
Otherwise one would have to hand new GridViews to each of those classes by hand since there is no consistent interface to create GridViews.