Petsc Shell-Matrix #3598
-
I need some assistance with Shell-matrices: SetupI have defined a shell-matrix derivative
Error messagerunning this yields
AnalysisIt boils down to the problem that Since the error occurs before actually calling any of the functions from The only example using QuestionDoes anybody spot an error in my overall setup? Do I possibly miss something obvious? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I have created a minimal example. I think, this may help to understand my issue!? |
Beta Was this translation helpful? Give feedback.
-
For the record: I could finally localize the error. When solving a ShellMatrix without preconditioner, the call to |
Beta Was this translation helpful? Give feedback.
For the record: I could finally localize the error.
In this gist, I copy-pasted the libMesh-functions and removed those cases that are not called.
When solving a ShellMatrix without preconditioner, the call to
KSPSetOperators
is missing.Corresponding PR is in the making, so it should be fixed.