Skip to content
Snippets Groups Projects
Commit cec0a443 authored by Max Kahnt's avatar Max Kahnt
Browse files

Truncate was moved to dune-matrix-vector.

parent b9f5301b
Branches
Tags
No related merge requests found
......@@ -7,6 +7,7 @@
#include <dune/solvers/solvers/loopsolver.hh>
#include <dune/solvers/solvers/linearsolver.hh>
#include <dune/solvers/common/genericvectortools.hh>
#include <dune/matrix-vector/genericvectortools.hh>
//template<class MatrixType, class VectorType, class BitVectorType>
//inline
......@@ -233,7 +234,7 @@ void MultigridStep<MatrixType, VectorType, BitVectorType>::iterate()
// Set Dirichlet values.
GenericVector::truncate(rhs[level-1], *ignoreNodesHierarchy_[level-1]);
MatrixVector::Generic::truncate(rhs[level-1], *ignoreNodesHierarchy_[level-1]);
// Choose all zeros as the initial correction
*x[level-1] = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment