Hi all,

At the highest-level Python interface, the user calls

solve(F == 0, u, bcs, ..).

Lower down, the nonlinear solvers in Dolfin (NewtonSolver and
PETScSNESSolver) take in objects of type NonlinearProblem.
The code that glues these together is NonlinearDiscreteProblem,
which is currently nested within NonlinearVariationalSolver,
and private.

Lately I've been using some advanced nonlinear solver options and
block preconditioning techniques that I can only express by
accessing the underlying SNES object. To set up the solver,
I've had to duplicate the functionality of NonlinearDiscreteProblem
in several different codes.

My question: is there any reason why it's private and hidden?
May I make it public, or shall I keep copying & pasting my Python
reimplementation around?

Cheerio,

Patrick
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to