[Dune] [#396] please add "BCRSMatrix += Scalar" operator

Dune dune at dune-project.org
Thu Nov 6 10:27:33 CET 2008


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#396 - please add "BCRSMatrix += Scalar" operator
User who did this - Sven Marnach (sven)

----------
What about this solution?

for (int i = 0; i < A.N(); ++i)
    for (int j = 0; j < block_size; ++j)
        A[i][i][j][j] += 1.0;

It is short, concise and efficient.  And you don't have to look at any documentation to understand what it does :)
----------

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

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