[python] Add bindings for SubspaceBasis
This shares most of the code with the bindings
for GlobalBasis
. However, the constructor
call is different and SubspaceBasis
does
not support basis.update(gridView)
.
Ingredients to achieve this:
- Let
registerGlobalBasis()
use the official interface to derive theTree
type and to construct aLocalView
. - Extract the generic part of
registerGlobalBasis()
asregisterBasisType()
. - Use
registerBasisType()
in the newregisterSubspaceBasis()
call. - Add a python-method
subspaceBasis(basis, ...)
. This does internally always use fully static tree paths which avoids the need for explicit bindings ofHybridTreePath
. - Add missing functionality in
Tree
bindings. - Make interpolation checks aware of subspace bases.
Edited by Carsten Gräser