[Dune] [#729] Singularity detection in FieldMatrix' LU decomposition buggy (Attachment added)

Dune flyspray at dune-project.org
Thu Jan 28 15:05:04 CET 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#729 - Singularity detection in FieldMatrix' LU decomposition buggy
User who did this - Andreas Lauser (andlaus)

----------
Sure, I know that it is ill-conditioned and I'm also not surprised. But emerges directly from my physical problem, and I think I should not change the model unnecessarily. What I could do is that I could for example multiply the second row with 10^9, but this would be much more effort than to fix the pivoting (and wouldn't change the conditioning if I'm not mistaken).

To fix the problem properly, I think that the singularity threshold needs to be be dependent on the largest entry that occurs in a column during the decomposition. I just have trouble finding a efficient way to implement this. In the mean time I would like to propose the attached patch to fix the problem, if compiled with -DNDEBUG the singularity detection just breaks down to a comparison with 0, else the singularity thershold is column specific.
----------

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=729#comment1696

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