[petsc-users] question about extracting numbers from a matrix

Michael Povolotskyi mpovolot at purdue.edu
Mon Jun 24 17:01:38 CDT 2013


Hello everybody,
I have a sparse matrix defined on 1 MPI process.
I want to extract all entries from it (including zeros) and put them 
into an array to use as an argument for some lapack functions.
What is the most optimal way of doing this?
Thank you,
Michael.


-- 
Michael Povolotskyi, PhD
Research Assistant Professor
Network for Computational Nanotechnology
207 S Martin Jischke Drive
Purdue University, DLR, room 441-10
West Lafayette, Indiana 47907

phone: +1-765-494-9396
fax: +1-765-496-6026



More information about the petsc-users mailing list