Skip to content

NonlinearVariationalSolver: support rhs and solution kwargs#5130

Open
pbrubeck wants to merge 3 commits into
releasefrom
pbrubeck/snes-rhs
Open

NonlinearVariationalSolver: support rhs and solution kwargs#5130
pbrubeck wants to merge 3 commits into
releasefrom
pbrubeck/snes-rhs

Conversation

@pbrubeck
Copy link
Copy Markdown
Contributor

Description

@@ -340,17 +343,30 @@ def set_transfer_manager(self, manager):

@PETSc.Log.EventDecorator()
@NonlinearVariationalSolverMixin._ad_annotate_solve
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The adjoint will certainly fail if we tape solver.solve(x=x, b=b), this needs more work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant