Cleanup child and childStorage
childStorage() node member functions and corresponding free functions and removed type aliases
ConstChildStorage from node implementations
- The child-storage is in all node implementations a
shared_ptrof the child type. This is even implicitly assumed in several methods, like
setChild(). So it does not make much sense to allow flexible child storage types.
- The child-extraction methods
childStorage(node, i...)are not consistently implemented like
child(node, i...)and several type aliases or free functions are missing, so this MR cleans this up.
- The member functions
node.childStorage(i)were not implemented correctly in all node implementations. But they cannot be removed right now because they are used in the tree transformation methods.
node.childStorage(i)now consistently take an integral-constant or a runtime index as first argument. This allows for more generic implementations.
- Check compatibility with dune-pdelab
- Check compatibility with dune-functions