dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #02818
Re: array(), getRow() etc
On Mon, Jul 03, 2006 at 04:12:12PM +0200, Garth N. Wells wrote:
> Anyone know anything about controlling template instantiation? I'd like
> to compile an object files for a set of uBlasMatrix types, e.g.
>
> class uBlasDenseMatrix : uBlasMatrix<ublas_matrix> {};
>
> Garth
It looks to me that this should be straightforward. The following
should compile
uBlasDenseMatrix.h:
class uBlasDenseMatrix : public uBlasMatrix<ublas_dense_matrix>
{
void foo();
}
uBlasDenseMatrix.cpp:
void uBlasDenseMatrix::foo() {}
Or is that not the problem?
/Anders
Follow ups
References
-
Re: array(), getRow() etc
From: Anders Logg, 2006-06-30
-
Re: array(), getRow() etc
From: Garth N. Wells, 2006-06-30
-
Re: array(), getRow() etc
From: Anders Logg, 2006-06-30
-
Re: array(), getRow() etc
From: Garth N. Wells, 2006-06-30
-
Re: array(), getRow() etc
From: Anders Logg, 2006-07-03
-
Re: array(), getRow() etc
From: Garth N. Wells, 2006-07-03
-
Re: array(), getRow() etc
From: Anders Logg, 2006-07-03
-
Re: array(), getRow() etc
From: Garth N. Wells, 2006-07-03