[petsc-users] small doubt about Fortran Arrays
Matthew Knepley
knepley at gmail.com
Fri Apr 12 18:38:45 CDT 2013
On Fri, Apr 12, 2013 at 4:50 PM, Dharmendar Reddy
<dharmareddy84 at gmail.com>wrote:
> Hello,
> If a petsc function XXX has no corresponding XXXF90, then where
> ever, say, PetscScalar values[] is expected, one should pass
>
> PetscScalar, pointer :: values(:)
>
> not
> PetscScalar, allocatable :: values(:)
>
> Right ?
>
No, if its not F90, then it uses F77-style arrays.
> Can i request for VecSetValuesSectionF90 ?
>
Added.
Matt
> Thanks
> Reddy
>
> --
> -----------------------------------------------------
> Dharmendar Reddy Palle
> Graduate Student
> Microelectronics Research center,
> University of Texas at Austin,
> 10100 Burnet Road, Bldg. 160
> MER 2.608F, TX 78758-4445
> e-mail: dharmareddy84 at gmail.com
> Phone: +1-512-350-9082
> United States of America.
> Homepage: https://webspace.utexas.edu/~dpr342
>
--
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/20130412/73c2412e/attachment.html>
More information about the petsc-users
mailing list