← Back to team overview

dolfin team mailing list archive

Re: Linear algebra cleanups

 



Anders Logg wrote:
I've made an attempt to cleanup the GenericFoo interfaces and make
them consistent. (I also added a few functions, for example A *= a,
x += y etc.)

Can everyone interested please take a look and see that things look good
for GenericTensor, GenericMatrix and GenericVector, even including the
order of definition of functions, punctuation in comments etc.

When that is done, we can all help out to edit all the concrete
implementations so that they are consistent with the interfaces.
I can volunteer to do Matrix, Vector, PETScMatrix, PETScVector.

Garth can hopefully to uBlasMatrix/Vector. Could you make uBlasMatrix
own a ublas matrix instead of inheriting (just as for uBlasVector)?
There is a problem otherwise with operator() (uint i, uint j).


Sure. Don't know exactly when I'll be able to get to it.

Garth


References