[petsc-users] Dump a matrix to a .py file

Adriano Côrtes adrimacortes at gmail.com
Mon Apr 14 09:02:59 CDT 2014


Dear all,

I'm on a debugging process, and I'd like to know if there is a way of
using PetscViewer to dump Mat and Vec objects to a .py file, to be
load and manipulated with numpy/scipy to inspect some properties.

Many thanks in advance.
Adriano.

-- 
Adriano Côrtes
=================================================
Post-doctoral fellow
Center for Numerical Porous Media
King Abdullah University of Science and Technology (KAUST)


More information about the petsc-users mailing list