[dune-pdelab] dense backend

Christian Engwer christian.engwer at uni-muenster.de
Wed Feb 19 12:23:46 CET 2014


On Wed, Feb 19, 2014 at 10:55:39AM +0100, Markus Blatt wrote:
> On Tue, Feb 18, 2014 at 05:57:06PM +0100, Christian Engwer wrote:
> > Dear all,
> > 
> > after a long time I sat down again and implemented the suggested
> > sparse matrix.
> > 
> > I created a new branch feature/sparsematrix.
> > 
> 
> What is the purpose of the template template parameter C for the
> container that is used to store the data, index and offset? Should I
> be able to use a std::vector for it?

I need to be able to change the storage type of the data
(e.g. std::vector), but I also need to use it for different data types
(index and value). Thus I can't use typename C (as in the vector
class).

Btw. the default is std::vector.

Christian




More information about the dune-pdelab mailing list