Closed salazardetroya closed 3 years ago
Hey, Miguel! Thanks for opening this pull request!
PETSc SNES also takes a solution vector as an argument, however, in Firedrake the .solve
method for the NonlinearVariationalSolver
doesn't do that. I followed Firedrake's design for DAESolver
. The Function
objects that are passed to DAEProblem are used as initial conditions.
How does it simplify the integration with pyadjoint?
Ok in that case I need to think about it.
This makes the interface similar to
TS
and will make it easier for the integration with pyadjoint.