[petsc-dev] MatGetArrayF90()

Barry Smith bsmith at mcs.anl.gov
Sat Apr 10 11:21:25 CDT 2010


     Why don't you change it to MatDenseGetArrayF90() and make a new  
MatGetArrayF90() that does the 1d array?

     and why don't you start programming in C++, not stick with your  
favorite language Fortran :-)

     Barry
On Apr 10, 2010, at 6:10 AM, Matthew Knepley wrote:

> Why does this not match MatGetArray()? I know it looks good from  
> MATDENSE, but
> shouldn't this be a special dense function? This is just annoying me  
> since I want to
> pull this out without a stupid offset.
>
>   Matt
>
> -- 
> What most experimenters take for granted before they begin their  
> experiments is infinitely more interesting than any results to which  
> their experiments lead.
> -- Norbert Wiener




More information about the petsc-dev mailing list