Printing the Jacobian matrix for a nonlinear problem
Asked by
Christopher Laing
Suppose that I have a nonlinear variational problem.
Let's call the form F, with a Function u and a TrialFunction du.
We can compute the Jacobian of F using:
jacobian = derivative(F,u,du)
1) What is the best method for assembling the system in order to get access to the assembled jacobian?
2) How can the jacobian be extracted in a useful form for manipulation and display, such as a numpy array?
Any advice would be greatly appreciated!
Christopher
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Johan Hake
- Solved:
- Last query:
- Last reply:
To post a message you must log in.