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

Test printSparseMatrix for FieldMatrix inner types

parent 9dafb0e5
Branches cherry-pick-3d1b5105
No related tags found
1 merge request!558Various fixes and tests for the printSparseMatrix method
...@@ -107,6 +107,7 @@ int main(int argc, char** argv) ...@@ -107,6 +107,7 @@ int main(int argc, char** argv)
Dune::BCRSMatrix<Dune::FieldMatrix<double,2,3> > matrix; Dune::BCRSMatrix<Dune::FieldMatrix<double,2,3> > matrix;
setupLaplacian(matrix, 3); setupLaplacian(matrix, 3);
Dune::printmatrix(std::cout, matrix, "BCRSMatrix<FieldMatrix<double,2,3> >", "--"); Dune::printmatrix(std::cout, matrix, "BCRSMatrix<FieldMatrix<double,2,3> >", "--");
Dune::printSparseMatrix(std::cout, matrix, "BCRSMatrix<FieldMatrix<double,2,3> >", "--");
} }
// Matrix // Matrix
......
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