-
- Downloads
Reimplement MultiTypeBlockVector using std::tuple instead of boost::fusion
This removes the dependency on boost::fusion. Using a bit of variadic template magic makes the code a tiny bit simpler, too. Note, though, that this change is not backward-compatible. If you have previously used boost::fusion::at_c<i>(v) to get the i-th entry of the vector v, you now have to change this to std::get<i>(v) Alternatively, you can start using operator[], and write v[std::integral_constant<int,i>()]
Showing
- dune/istl/gsetc.hh 20 additions, 21 deletionsdune/istl/gsetc.hh
- dune/istl/multitypeblockmatrix.hh 19 additions, 23 deletionsdune/istl/multitypeblockmatrix.hh
- dune/istl/multitypeblockvector.hh 56 additions, 55 deletionsdune/istl/multitypeblockvector.hh
- dune/istl/test/CMakeLists.txt 1 addition, 2 deletionsdune/istl/test/CMakeLists.txt
- dune/istl/test/multitypeblockmatrixtest.cc 31 additions, 28 deletionsdune/istl/test/multitypeblockmatrixtest.cc
- dune/istl/test/multitypeblockvectortest.cc 0 additions, 4 deletionsdune/istl/test/multitypeblockvectortest.cc
- dune/istl/tutorial/example.cc 14 additions, 10 deletionsdune/istl/tutorial/example.cc
Please register or sign in to comment