[Dune] Notification from Dune

Flyspray dune at hal.iwr.uni-heidelberg.de
Mon Nov 20 11:03:34 CET 2006


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

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

User who did this: - Markus Blatt (mblatt)

Attached to Project - Dune
Summary - Nested BCRSMatrix gives wrong coldim
Task Type - Bug Report
Category - ISTL
Status - New
Assigned To - Markus Blatt
Operating System - All
Severity - High
Priority - Normal
Reported Version - SVN
Due in Version - 
Due Date - Undecided
Details - Patrick Leidenberger mailed:

using the BCRSMatrix in a nested way shows me some problems:

I create a 4x4 BCRSMatrix of BCRSMatrices. Only in the second line and
column I insert an object, lets say a 5x5 BCRSMatrix. If I look now at
the construct, I get rowdim 10 and coldim 5: In the first row, second
column exists an empty 5x5 Matrix, which I have not created!
This problem can be avoid, if the empty diagonal elements in the 4x4
matrix are initialized with empty BCRSMatrices. If all elements in the
4x4 matrix are initialized with such empty matrices the total
dimension
of the matrix is 0x0!
Perhaps this is a bug, if it isn't this behavior should be documented.
I modified the dune-istl/istl/tutorial/example.cc to show the problem.
The file is attached, this is the output:
============================================.
E [n=5,m=5,rowdim=5,coldim=5]
row    0   4.20e+01   4.20e+01   4.20e+01   4.20e+01   4.20e+01
row    1   4.20e+01   4.20e+01   4.20e+01   4.20e+01   4.20e+01
row    2   4.20e+01   4.20e+01   4.20e+01   4.20e+01   4.20e+01
row    3   4.20e+01   4.20e+01   4.20e+01   4.20e+01   4.20e+01
row    4   4.20e+01   4.20e+01   4.20e+01   4.20e+01   4.20e+01
=============================================.
============================================.
D [n=4,m=4,rowdim=10,coldim=5]
row    0          .          .          .          .          .
row    1          .          .          .          .          .
row    2          .          .          .          .          .
row    3          .          .          .          .          .
row    4          .          .          .          .          .
row    5   4.20e+01   4.20e+01   4.20e+01   4.20e+01   4.20e+01
row    6   4.20e+01   4.20e+01   4.20e+01   4.20e+01   4.20e+01
row    7   4.20e+01   4.20e+01   4.20e+01   4.20e+01   4.20e+01
row    8   4.20e+01   4.20e+01   4.20e+01   4.20e+01   4.20e+01
row    9   4.20e+01   4.20e+01   4.20e+01   4.20e+01   4.20e+01
=============================================.


The printmatrix function for this nested BCRSMatrices works fine. But
is
it possible to extend the writeMatrixToMatlab function so that it will
works as well?

Regards Patrick


More information can be found at the following URL:
http://hal.iwr.uni-heidelberg.de/flyspray/?do=details&id=200

You are receiving this message because you have requested it from the
Flyspray bugtracking system.  You can be removed from future
notifications by visiting the URL shown above.





More information about the Dune mailing list