#994 Default accuracy of matlab file writer not sufficient
Metadata
Property | Value |
---|---|
Reported by | Matthias Wohlmuth (matthias.wohlmuth@ma.tum.de) |
Reported at | Dec 16, 2011 11:22 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Markus Blatt (markus@dr-blatt.de) |
Last edited at | Dec 16, 2011 12:03 |
Closed by | Markus Blatt (markus@dr-blatt.de) |
Closed at | Dec 16, 2011 12:03 |
Closed in version | Unknown |
Resolution | Implemented |
Comment | applied in rev. 1508 with minor changes. |
Description
Hi, I recently experienced some very strange behaviour when I assembled a convection-diffusion-reaction problem in PDELab, wrote it to a Matlab-File and solved it with Matlab. The reason turned out to be the default number of digits (8). This is not enough if the contributing operators scale differently with h. To solve this problem, I attached a patch which adds a default argument outputPrecision=18 to the file writer. This solved the problem for me and should not break any old code. Best, Matthias