I'm seeing half precision on at least 10 to 20% of the entries :(
Knowing I should see full precision, I will dig deeper.

-sanjay

On 5/14/19 5:22 PM, Mark Adams wrote:
I would hope you get full precision. How many digits are you seeing?

On Tue, May 14, 2019 at 7:15 PM Sanjay Govindjee via petsc-users <petsc-users@mcs.anl.gov <mailto:petsc-users@mcs.anl.gov>> wrote:

    I am using the following bit of code to debug a matrix.  What is the
    expected precision of the numbers that I will find in my ASCII file?
    As far as I can tell it is not the full double precision that I was
    expecting.

                 call PetscViewerASCIIOpen(PETSC_COMM_WORLD,
    tangview,K_view, ierr)
                 call PetscViewerSetFormat(K_view,
    PETSC_VIEWER_ASCII_MATLAB, ierr)
                 call MatView                     (Kmat, K_view, ierr)

    -sanjay


Reply via email to