From 39503c76c34eab53c87dead91d7c014c9f24c93c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20Gr=C3=A4ser?= <graeser@mi.fu-berlin.de> Date: Tue, 11 Jul 2023 16:46:50 +0200 Subject: [PATCH] Update --- src/05-poisson-problem.hh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/05-poisson-problem.hh b/src/05-poisson-problem.hh index f1fbabc..424e465 100644 --- a/src/05-poisson-problem.hh +++ b/src/05-poisson-problem.hh @@ -129,18 +129,17 @@ void assembleLocalRHS( } -template<class GridView, class RHSFunction> +template<class GridView, class Matrix, class Vector, class RHSFunction> void assemblePoissonProblemPQ1( const GridView& gridView, - Dune::BCRSMatrix<double>& matrix, - Dune::BlockVector<double>& rhs, + Matrix& matrix, + Vector& rhs, const RHSFunction& rhsFunction) { static const int dim = GridView::dimension; const auto& indexSet = gridView.indexSet(); std::size_t size = indexSet.size(dim); - using Matrix = Dune::BCRSMatrix<double>; using ElementMatrix = Dune::Matrix<double>; using ElementRhs = Dune::BlockVector<double>; -- GitLab