[petsc-dev] VecGetArrayReadF90 ???

Barry Smith bsmith at mcs.anl.gov
Sat May 30 11:53:23 CDT 2015


> On May 30, 2015, at 9:55 AM, Mark Adams <mfadams at lbl.gov> wrote:
> 
> There does not appear to be such a beast.
> 
> I am reading from this array. I guess the compiler will not check that this is "const", so its not safe (Fortran after all).  Should I just copy this vector or should there be a VecGetArrayReadF90?

   There is a VecGetArrayReadF90().

> 
> Mark




More information about the petsc-dev mailing list