From: Roy S. <ro...@st...> - 2008-07-10 23:37:31
|
On Fri, 11 Jul 2008, Maxime Debon wrote: > Using the example 0 was the good trick, I finally found that even with a > simple ODE problem, the maximum number of solver iterations was important ... > > > // ----------------------------------------------------------------------- > equation_systems.parameters.set<unsigned int> > ("linear solver maximum iterations") = 1000; > // ----------------------------------------------------------------------- > > So, the problem disappears with an higher max. number or putting the line as > a comment. Whew! Good to know it wasn't a bug, at least. I'm surprised that the quadratic Lagrange elements turned out to be the choice that needed the most solver iterations, though. Even more than cubic Hermites! Personally I set the max iteration count ridiculously high when I'm solving a linear problem; unless you've got a nonlinear solver that will take more outer iterations to cover up for a bad linear solve, a bad solution is usually worse than no solution at all. --- Roy |