fixed: default number of smoothing steps in amg to 1

iterative smoothers were broken
This commit is contained in:
Arne Morten Kvarving 2017-01-06 13:15:45 +01:00
parent d380c1d36c
commit 2561de1bed

View File

@ -146,6 +146,9 @@ bool LinSolParams::BlockParams::read(const TiXmlElement* elem, const std::string
if (!hasValue("multigrid_finesmoother") && hasValue("multigrid_smoother"))
addValue("multigrid_finesmoother", getStringValue("multigrid_smoother"));
if (!hasValue("multigrid_no_smooth") || getIntValue("multgrid_no_smooth") < 1)
addValue("multigrid_no_smooth", "1");
return true;
}