[petsc-users] DMDAVecGetArrayF90

2025-04-04 Thread Zhao-Yi Yan
Hi, It should be warned that DMDAVecGetArrayF90 should be used in Fortran instead of DMDAVecGetArray. 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/

Re: [petsc-users] DMDAVecGetArrayF90

2025-03-31 Thread Pierre Jolivet
> On 31 Mar 2025, at 1:45 PM, Zhao-Yi Yan <13971216...@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_uCfscf

Re: [petsc-users] DMDAVecGetArrayF90

2015-03-04 Thread Barry Smith
DMDAGetCorners() for global vectors and DMDAGetGhostCorners() for local (ghosted) vectors. Barry > On Mar 4, 2015, at 12:26 PM, > wrote: > > Hi, > > I am using DMDAVecGetArrayF90 with a pointer in petsc 3.4.3. Is there anyway > of finding out what the start and finish indices of the

Re: [petsc-users] DMDAVecGetArrayF90

2015-03-04 Thread Matthew Knepley
On Wed, Mar 4, 2015 at 12:26 PM, wrote: > Hi, > > I am using DMDAVecGetArrayF90 with a pointer in petsc 3.4.3. Is there > anyway of finding out what the start and finish indices of the pointer > coming back from this routine are per processor? > > I have declared: > > > DM

[petsc-users] DMDAVecGetArrayF90

2015-03-04 Thread Carol.Brickley
Hi, I am using DMDAVecGetArrayF90 with a pointer in petsc 3.4.3. Is there anyway of finding out what the start and finish indices of the pointer coming back from this routine are per processor? I have declared: DM :: da Vec :: X Pets