Skip to content
Snippets Groups Projects
Commit f05ed2b5 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Merge branch 'cleanup/use-std-vector-for-vbv-data' into 'master'

Cleanup the VariableBlockVector implementation

See merge request core/dune-istl!463
parents 98f4131c d8f9e4c2
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,9 @@ SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
# Master (will become release 2.10)
- Base the implementation of `VariableBlockVector` on `std::vector` as the storage type. Note that
this prevents from using `bool` as block type that was possible before.
- A method `BCRSMatrix::setIndicesNoSort()` was added. Similar
to `BCRSMatrix::setIndices()` this allows to insert all indices
of a row at once, but - incontrast to the latter - does not sort them.
......
......@@ -87,5 +87,10 @@ int main()
testVectorSpaceOperations(v5);
testScalarProduct(v5);
// check move construction
auto v6 = std::move(v4);
suite.check(v6.size()==20, "Check size of moved-constructed object");
suite.check(v6[0].size() == 8, "Check if blocksize of move constructed vector survived");
return suite.exit();
}
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment