Is it then possible to use this LinearOperator in a preconditioner? The code works without one (i.e. PreconditionIdentity()), but the Iterations are increasing quite fast, thus negating all speedup gained from the LinearOperator. I tried to find something in the examples, but only found data about using matrices as input for preconditioners, not pure LinearOperators containing only a vmult-function.
Am Dienstag, 16. Juli 2019 18:21:28 UTC+2 schrieb Matthias Maier: > > A short comment: > > On Tue, Jul 16, 2019, at 11:18 CDT, Matthias Maier <tam...@43-1.org > <javascript:>> wrote: > > > struct LeftVector { > > }; > > > struct RightVector { > > }; > > These two classes are of course just decoration (showing the minimal > interface a vector has to possess). There is usually no need to define > custom Vector clases. > -- 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/c7bc4fb5-1cf7-46ce-af94-2bd5a796715d%40googlegroups.com.