← Back to team overview

dolfin team mailing list archive

Re: matrix action

 

Garth, Thanks, this looks like the interface I need.  I can just fill in the
virtual functions if I work in C++
Any possibility of swigging uBLASKrylovMatrix and letting programmers fill
in the methods in Python?  There
are mechanisms for setting up callbacks.


Rob

On Fri, Apr 3, 2009 at 10:15 PM, Garth N. Wells <gnw20@xxxxxxxxx> wrote:

>
>
> Robert Kirby wrote:
>
>> Hi all,
>> Does DOLFIN support the notion of a "matrix action", what would be an
>> "Operator" in Trilinos or a "matrix shell" in PETSc?
>>
>
> Take a look at dolfin/la/uBLASKyrlovMatrix.h and
> dolfin/la/PETScKyrlovMatrix.h. The latter is a wrapper for a PETSc 'matrix
> shell'. The FooKrylovMatrix classes are not derived from GenericMatrix and I
> don't think that they've been used very extensively. They are used by the
> ODE solvers.
>
> Garth
>

Follow ups

References