On Wednesday August 24 2011 13:43:36 Anders Logg wrote:
> On Wed, Aug 24, 2011 at 09:54:55AM -0700, Johan Hake wrote:
> > I think it would be nice to have solve propagate the result of the solve.
> > At least for Nonlinear problems.
> > 
> > I am not sure might is appropriate for all versions of solve (linear,
> > nonlinear, adaptive) to return, for example a bool. But I think that
> > NonlinearVariationalSolver.solve should at least do that.
> 
> I don't think the solve() function needs to do this (since it may not
> even use an iterative solver), but it might be appropriate for
> NonlinearVariationalSolver to report the number of iterations.

Agree and done.

Johan

_______________________________________________
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