[petsc-users] Check for inf or nan in PETSc matrix

TAY wee-beng zonexo at gmail.com
Thu Oct 2 19:25:44 CDT 2014


Hi,

I have a PETSc matrix. How can I check for inf or nan in its values?

I understand that there's a subroutine "PetscIsInfOrNanScalar" but not 
sure how to use it.

-- 
Thank you.

Yours sincerely,

TAY wee-beng



More information about the petsc-users mailing list