On Mon, Feb 4, 2013 at 12:22 PM, Johannes Ring <[email protected]> wrote:
On Fri, Feb 1, 2013 at 2:15 PM, Roland Siegbert
<[email protected]> wrote:
Dear Fenics,

after following this:

http://fenicsproject.org/documentation/dolfin/1.1.0/python/demo/pde/navier-stokes/python/documentation.html

I think this, doesn't work anymore:

# Use amg preconditioner if available
prec = "amg" if has_krylov_solver_preconditioner("amg") else "default"

Can you be a bit more specific? What is the error message you get?
I'm very sorry, but I forgot the exact error message. However, the
demo in /usr/share/fenics didn't contain that line at all and I simply
used the file there. I remember that the the calling function had
"amg" as argument per default later. That was the solution. No
wrapping call using has_krylov_solver_preconditioner anymore.

Thanks for the immediate reply,

Roland


PS: I'll have a look at it at the weekend and can recreate it maybe then.

_______________________________________________
Mailing list: https://launchpad.net/~fenics
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~fenics
More help   : https://help.launchpad.net/ListHelp

Reply via email to