<div class="gmail_quote">On Sat, Oct 1, 2011 at 10:44, behzad baghapour <span dir="ltr">&lt;<a href="mailto:behzad.baghapour@gmail.com">behzad.baghapour@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I test MatGetArray( Mat A, PetscScalar* a ) but I couldnt find the correct content of matrix by using a[i*n+j].</blockquote></div><br><div>The moment you ask for such a grotesque thing, you have thrown in the towel and given up any chance of a moderately scalable method (in memory or time).</div>