Skip to content

how to give Jocabian matrix? #2638

Nov 18, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

You can provide an explicit Jacobian by passing J=your_bilinear_form to the solve call (or, if you're building a NonlinearVariationalProblem to that).

See https://firedrakeproject.org/solving-interface.html#nonlinear-variational-problems, so something like:

solve(F == 0, X, J=some_bilinear_form)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tu1620808124
Comment options

@wence-
Comment options

Answer selected by ksagiyam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants