[Dune] [#1020] Add Specialization for DiagonalMatrix<K, 1>, that can behave like a scalar (Attachment added)

Dune flyspray at dune-project.org
Tue Jan 17 11:14:28 CET 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Uli Sack (usack) 

Attached to Project - Dune
Summary - Add Specialization for DiagonalMatrix<K,1>, that can behave like a scalar
Task Type - Feature Request
Category - ISTL
Status - Unconfirmed
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN (pre2.2)
Due in Version - Undecided
Due Date - Undecided
Details - For FieldMatrix<K,1,1> there exists a specialization that allows to use it as a scalar of type K. DiagonalMatrix lacks this specialization and therefore this ability.
Find a patch attached that introduces such a specialization.

Note that it inherits from FieldMatrix<K,1,1>. To avoid function calls I acted on _data directly whence I needed to make _data protected instead of private in FieldMatrix<K,1,1>. If that doesn't find the developers taste I can change from this->_data to (*this)[0].

One or more files have been attached.

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=1020

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list