how to give Jocabian matrix? #2638
Answered
by
wence-
tu1620808124
asked this question in
Firedrake support
-
When solving a nonlinear system such as |
Beta Was this translation helpful? Give feedback.
Answered by
wence-
Nov 18, 2022
Replies: 1 comment 2 replies
-
You can provide an explicit Jacobian by passing See https://firedrakeproject.org/solving-interface.html#nonlinear-variational-problems, so something like:
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ksagiyam
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can provide an explicit Jacobian by passing
J=your_bilinear_form
to thesolve
call (or, if you're building aNonlinearVariationalProblem
to that).See https://firedrakeproject.org/solving-interface.html#nonlinear-variational-problems, so something like: