Question #149919 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/149919

Christian Clason posted a new comment:
Johan,

thank you for the explanation. That means I should call the
PETScKrylovSolver with

y_petsc = PETScVector(V.dim()); y_petsc[:] = y.vector()[:]
x_petsc = PETScVector(V.dim())

NewtonSolver = PETScKrylovSolver('cg', 'none')
NewtonSolver.solve(H, x_petsc, y_petsc)

right? (I'm trying to get a correct minimal example for the bug report.)

Christian

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : dolfin@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp

Reply via email to