Skip to content
Snippets Groups Projects
Commit 484946f3 authored by Oliver Sander's avatar Oliver Sander
Browse files

Test the new BTDMatrix

[[Imported from SVN: r1159]]
parent dfa5f795
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@
#include <dune/istl/bcrsmatrix.hh>
#include <dune/istl/matrix.hh>
#include <dune/istl/bdmatrix.hh>
#include <dune/istl/btdmatrix.hh>
#include <dune/istl/scaledidmatrix.hh>
#include <dune/istl/diagonalmatrix.hh>
......@@ -314,6 +315,15 @@ int main()
testSuperMatrix(bdMatrix);
// ////////////////////////////////////////////////////////////////////////
// Test the BTDMatrix class -- a dynamic block-tridiagonal matrix
// ////////////////////////////////////////////////////////////////////////
BTDMatrix<FieldMatrix<double,1,1> > btdMatrix(4);
btdMatrix = 4.0;
testSuperMatrix(btdMatrix);
// ////////////////////////////////////////////////////////////////////////
// Test the FieldMatrix class
// ////////////////////////////////////////////////////////////////////////
......
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