On 7/19/19 9:47 AM, 'Maxi Miller' via deal.II User Group wrote: > What I did was the replacement of system_matrix with a function, providing a > vmult()-function. Now I would like to add a preconditioner based on that > function to reduce the necessary GMRES-iterations. But until now most of the > preconditioners require a matrix for initialization. Thus I wanted to replace > that matrix with my LinearOperator, if that is possible?
Yes, as I already said, this is possible. Have you tried? I think you should also be able to look at step-20 (and maybe 22) for examples. Best W. -- ------------------------------------------------------------------------ Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/9a9c4ce7-dbda-12e0-ceb6-325019686981%40colostate.edu.