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

[test] set pre/post smoother steps for kamg

parent 3c7db109
Branches
Tags
1 merge request!7Feature/fix deprecation warnings amgtest
......@@ -92,6 +92,9 @@ 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::KAMG<Operator,Vector,Smoother,Dune::Amg::SequentialInformation> AMG;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment