← Back to team overview

dolfin team mailing list archive

Re: Linear algebra cleanups

 

> 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.

The copy function is removed from GenericVector but is in the subclasses.
I'd like GenericVector to have the copy function. Any reason to not have it ?

Kent

>
> 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).
>
> --
> Anders
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>




Follow ups

References