[petsc-users] VecGetArrayF90 vs. VecGetArrayReadF90
Barry Smith
bsmith at petsc.dev
Mon May 13 08:35:53 CDT 2024
I couldn't find a way in Fortran to declare an array as read-only. Is there such support?
Barry
> On May 13, 2024, at 7:28 AM, Runjian Wu <wurunjian at gmail.com> wrote:
>
> This Message Is From an External Sender
> This message came from outside your organization.
> Hi all,
>
> I have a question about VecGetArrayReadF90(...). If I use VecGetArrayReadF90(...), I can still write entries into the array like VecGetArrayF90(...). Is it possible to report an error during compile process?
>
> Thanks,
>
> Runjian Wu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240513/46555381/attachment-0001.html>
More information about the petsc-users
mailing list