[petsc-users] Precision of MatView
Sanjay Govindjee
s_g at berkeley.edu
Tue May 14 18:14:24 CDT 2019
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
More information about the petsc-users
mailing list