[petsc-dev] VecGetArrayReadF90 ???

Barry Smith bsmith at mcs.anl.gov
Sat May 30 14:41:48 CDT 2015


   It exists, at least in master, it just doesn't have a manual page.

  Barry

> On May 30, 2015, at 2:01 PM, Mark Adams <mfadams at lbl.gov> wrote:
> 
> Its not here:
> 
> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/index.html
> 
> On Sat, May 30, 2015 at 12:53 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 
> > 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