[petsc-users] DMDAVecGetArrayF90

Pierre Jolivet pierre at joliv.et
Mon Mar 31 06:52:30 CDT 2025



> On 31 Mar 2025, at 1:45 PM, Zhao-Yi Yan <13971216897 at 163.com> wrote:
> 
> Hi,
> 
> It should be warned that DMDAVecGetArrayF90 should be used in Fortran instead of DMDAVecGetArray.

Not anymore, see the bottom of https://urldefense.us/v3/__https://petsc.org/release/changes/323/__;!!G_uCfscf7eWS!YvQlSEiYwYCdAtR57Fek4ifjt--n7njeUKpTMWljcwUFbPXzI56VX5mlqNL-zU-jln00hp8c271Mv1AuzvMZmQ$ 

Thanks,
Pierre

> The example in ex13f90.F90 has been adapted, but html document has not.
> 
> DMDAVecGetArray — PETSc 3.23.0 documentation <https://urldefense.us/v3/__https://petsc.org/release/manualpages/DMDA/DMDAVecGetArray/*dmdavecgetarray__;Iw!!G_uCfscf7eWS!atC_NTcSJ25s2w01o6XAq3w6JxLFsOSL5XBNJfpElQLPCKmpcbLmk_wv67xp2XSt4g_WfU9ApYG85ODUl69qoLoLboI$>
> 
> https://urldefense.us/v3/__https://petsc.org/release/manualpages/DMDA/DMDAVecGetArray/*dmdavecgetarray__;Iw!!G_uCfscf7eWS!YvQlSEiYwYCdAtR57Fek4ifjt--n7njeUKpTMWljcwUFbPXzI56VX5mlqNL-zU-jln00hp8c271Mv1AOM6RNBA$  <https://urldefense.us/v3/__https://petsc.org/release/manualpages/DMDA/DMDAVecGetArray/*dmdavecgetarray__;Iw!!G_uCfscf7eWS!atC_NTcSJ25s2w01o6XAq3w6JxLFsOSL5XBNJfpElQLPCKmpcbLmk_wv67xp2XSt4g_WfU9ApYG85ODUl69qoLoLboI$>
> 
>  	
> Zhao-Yi Yan
> 13971216897 at 163.com
>  <>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250331/d4f4a3c3/attachment.html>


More information about the petsc-users mailing list