On 10/10/22 11:45, Wasim Niyaz Munshi ce21d400 wrote:
So I used set precision function when using the cout to print the
solution vector.
With setprecision, the values are printed accurately to machine precision.
However, I was still unable to write the values accurately upto machine
precision, to a vtk file.
Did you use .setprecision(...) also on the stream that you give to
data_out.write_vtk()? You need to set the precision separately for each
stream on which you want to output.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/bae96ef4-d0c8-8d27-14c9-781f72499cca%40colostate.edu.