← Back to team overview

dolfin team mailing list archive

Re: uBlasFactory

 



Anders Logg wrote:
On Sun, May 18, 2008 at 12:09:04PM +0100, Garth N. Wells wrote:
The uBlasFactory class doesn't look right to me. It appears to be tied to ublas_sparse_matrix, whereas uBlasMatrix allows the user to choose the matrix type. Is there a way around this?

Garth

Looks like we just need to template the factory and make some minor
changes in uBlasMatrix.cpp?


Yes, but it has some knock-on effects on some other classes which I don't yet fully understand, e.g. uBlasFactory.

Garth


Follow ups

References