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

[test] fix deprecation warnings in amgtest

parent 30ea4d06
No related branches found
No related tags found
1 merge request!7Feature/fix deprecation warnings amgtest
......@@ -129,13 +129,16 @@ void testAMG(int N, int coarsenTarget, int ml)
criterion.setBeta(1.0e-4);
criterion.setMaxLevel(ml);
criterion.setSkipIsolated(false);
// specify pre/post smoother steps
criterion.setNoPreSmoothSteps(1);
criterion.setNoPostSmoothSteps(1);
Dune::SeqScalarProduct<Vector> sp;
typedef Dune::Amg::AMG<Operator,Vector,Smoother> AMG;
Smoother smoother(mat,1,1);
AMG amg(fop, criterion, smootherArgs, 1, 1, 1, false);
AMG amg(fop, criterion, smootherArgs);
double buildtime = watch.elapsed();
......
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