Newton solver vs. iterating as Newton solver
hi, where can I find what VariationalProb
if I use my own Newton iteration procedure, like
...
problem = VariationalProb
dv = problem.solve()
differ = dv.vector().array()
eps = numpy.linalg.
print 'K=%g : after iteration=%d , the L2-Norm of perturbation: %g ' % (mat['K'],iter, eps)
v.vector()[:] += dv.vector()
...
vs. the automatized one
...
problem = VariationalProb
problem.solve(v)
...
they do not have the same convergence tendency, neither the same solution (if both would converge to one)?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Garth Wells
- Solved:
- Last query:
- Last reply: