I.e. (based on step-37) I can write something like LinearOperator jacobian_operator; //vmult-operation is added later
using SystemMatrixType = jacobian_operator; SystemMatrixType system_matrix; and follow the example accordingly? Am Freitag, 19. Juli 2019 17:26:31 UTC+2 schrieb Wolfgang Bangerth: > > On 7/19/19 9:18 AM, 'Maxi Miller' via deal.II User Group wrote: > > 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. > > Yes, this is supposed to work! > Best > W. > > -- > ------------------------------------------------------------------------ > Wolfgang Bangerth email: [email protected] > <javascript:> > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/a77e57c0-c126-4b81-a41b-f95b45342897%40googlegroups.com.
