-
- Downloads
[cleanup] Hide FlatVectorBackend in favour of flatVectorView()
* Hide the old implementation class FlatVectorBackend in namespace Impl::. It was never documented anyway. * Add a new class FlatVectorView. In contrast to the old one, this behaves like a (view-) value providing a very slim flat-vector-like interface instead of odd static methods. * To be flexible FlatVectorView is also hidden in Impl:: Instead we only expose factory methods: * Add factory methods flatVectorView() creating the view objects. When passing a const/mutable l-value reference the returned object will store a pointer to the underlying container. If the passed container is an r-value reference the object will be stored by value inside of the view. This is necessary to support proxy objects.
Showing
- dune/functions/functionspacebases/CMakeLists.txt 1 addition, 1 deletiondune/functions/functionspacebases/CMakeLists.txt
- dune/functions/functionspacebases/flatvectorview.hh 205 additions, 0 deletionsdune/functions/functionspacebases/flatvectorview.hh
- dune/functions/functionspacebases/interpolate.hh 12 additions, 19 deletionsdune/functions/functionspacebases/interpolate.hh
- dune/functions/gridfunctions/discreteglobalbasisfunction.hh 14 additions, 17 deletionsdune/functions/gridfunctions/discreteglobalbasisfunction.hh
Loading
Please register or sign in to comment