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

Test printSparseMatrix with inner type ScaledIdentityMatrix

No fixes necessary.
parent 0d4f440f
No related branches found
No related tags found
1 merge request!558Various fixes and tests for the printSparseMatrix method
Pipeline #68255 passed
......@@ -103,6 +103,11 @@ int main(int argc, char** argv)
Dune::printmatrix(std::cout, matrix, "BCRSMatrix<FieldMatrix<double,1,1> >", "--");
Dune::printSparseMatrix(std::cout, matrix, "BCRSMatrix<FieldMatrix<double,1,1> >", "--");
}
{
Dune::BCRSMatrix<Dune::ScaledIdentityMatrix<double,1> > matrix;
setupLaplacian(matrix, 3);
Dune::printSparseMatrix(std::cout, matrix, "BCRSMatrix<ScaledIdentityMatrix<double,1> >", "--");
}
{
Dune::BCRSMatrix<Dune::FieldMatrix<double,2,3> > matrix;
setupLaplacian(matrix, 3);
......
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