Skip to content

#700 Remove C0LocalBasis base class and traits

Metadata

Property Value
Reported by Carsten Gräser (graeser@math.fu-berlin.de)
Reported at Jan 2, 2010 12:10
Type Feature Request
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Carsten Gräser (graeser@math.fu-berlin.de)
Last edited at Jan 19, 2010 09:27
Closed by Carsten Gräser (graeser@math.fu-berlin.de)
Closed at Jan 19, 2010 09:27
Closed in version 2.0
Resolution Implemented
Comment

Description

Currently we have a C0- and a C1LocalBasis base interface and corresponding C0- and C1LocalBasisTraits. This complicates the interface for no reason, thus I suggest to remove this differentiation:

Either C0/C1 means piecewise C0/C1. Then there will hardly be relevant shapefunctions that are piecewise C0 and not C1. In the esoteric case of everywhere continuous and nowhere differentiable functions we could throw an exception.

If the regularity is not meant in a piecewise sense then this differentiation is much to coarse. E.g. the RefinedP1LocalBasis is piecewise but not globally C1. Since one needs the gradients the C0 interface is not sufficient. Furthermore RefinedP0 is not even continuous but one needs the function values.