[petsc-users] Question - read text file

Marcelo Xavier Guterres m.guterres at gmail.com
Fri Oct 23 14:21:44 CDT 2015


Dear friends,

I need to read a matrix from a text file (txt).

This matrix has a high dimension (2000 X 2000) .

Example: date.txt - provision in the text file:

1 2 3 5
5 5 7 8
5 6 8 9


What's the proper way to perform the action?

thanks for help


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- --
Marcelo Xavier Guterres
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20151023/660def32/attachment.html>


More information about the petsc-users mailing list