Skip to content
Snippets Groups Projects
Commit 6926dfe5 authored by Christian Engwer's avatar Christian Engwer
Browse files

[test]

use Richardson instead of the removed IdentityPrec

[[Imported from SVN: r1673]]
parent 808a1d2f
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ int main(int argc, char** argv)
watch.reset();
// create Dummy Preconditioner
typedef Dune::IdentityPrec<BCRSMat,Vector,BS> DummyPreconditioner;
typedef Dune::Richardson<Vector,Vector> DummyPreconditioner;
typedef Dune::SeqJac<BCRSMat,Vector,Vector> JacobiPreconditioner;
typedef Dune::SeqGS<BCRSMat,Vector,Vector> GaussSeidelPreconditioner;
......@@ -137,7 +137,7 @@ int main(int argc, char** argv)
SolverTest<Operator,Vector> solverTest(fop,b0,x0,maxError);
DummyPreconditioner dummyPrec;
DummyPreconditioner dummyPrec(1.);
const FIELD_TYPE relaxFactor(1.);
JacobiPreconditioner jacobiPrec1(mat,1,relaxFactor);
......
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