DAVecGetArray, DAVecRestoreArray and FORTRAN (UNCLASSIFIED)

Matthew Knepley knepley at gmail.com
Mon Feb 23 13:54:35 CST 2009


On Mon, Feb 23, 2009 at 1:33 PM, Calvert, Mark E AMRDEC <
mark.e.calvert at us.army.mil> wrote:

>  Classification: * UNCLASSIFIED***
>
> Caveats: NONE
>
>  Hello,
>
> Can the routines DAVecGetArray and DAVecRestoreArray be used in FORTRAN
> programs?  If so, what would the routine call statements look like for 2D
> and 3D distributed arrays?
>
Right now, we only have F90 versions for 1D. It would just be some work to
add 2D and 3D if people
want them. There is currently a work around which you can see in SNES
ex5f90.

  Thanks,

    Matt


> Thanks,
>
> Mark Calvert
>
> Mark.E.Calvert at us.army.mil
>
> U.S. Army Aviation and Missile Research, Development and Engineering Center
>
>
>
>
>   Classification: *** UNCLASSIFIED***
>
> Caveats: NONE
>



-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090223/95174ce9/attachment.htm>


More information about the petsc-users mailing list