[petsc-dev] problem with petscdm.h90
Matthew Knepley
knepley at gmail.com
Mon May 19 18:54:36 CDT 2014
On Mon, May 19, 2014 at 6:42 PM, Adrian Croucher
<a.croucher at auckland.ac.nz>wrote:
>
> On 20/05/14 02:42, Matthew Knepley wrote:
>
>
> All this stuff has now been fixed in master, and I added a test of ex11
> for shallow water that uses
> reconstruction and limiters.
>
>
> Thanks Matt. I'm still getting one warning when I compile TS ex11 (using
> gcc 4.7.2), on either master or next branch- it doesn't seem to be entirely
> happy with the type of the function passed into
> DMPlexTSSetRHSFunctionLocal():
>
> /home/acro018/software/PETSc/code/src/ts/examples/tutorials/ex11.c: In
> function ‘main’:
> /home/acro018/software/PETSc/code/src/ts/examples/tutorials/ex11.c:1515:3:
> warning: passing argument 2 of ‘DMPlexTSSetRHSFunctionLocal
> ’ from incompatible pointer type [enabled by
> default]
>
> In file included from
> /home/acro018/software/PETSc/code/src/ts/examples/tutorials/ex11.c:37:0:
> /home/acro018/software/PETSc/code/include/petscts.h:342:29: note: expected
> ‘void (*)(const PetscReal *, const PetscReal *, const Petsc
> Scalar *, const PetscScalar *, PetscScalar *, void *)’ but argument is of
> type ‘RiemannFunction’
>
Its complaining about the return type. Will fix.
Matt
> Cheers, Adrian
>
> --
> Dr Adrian Croucher
> Senior Research Fellow
> Department of Engineering Science
> University of Auckland, New Zealand
> email: a.croucher at auckland.ac.nz
> tel: +64 (0)9 923 4611
>
>
--
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-dev/attachments/20140519/1484279c/attachment.html>
More information about the petsc-dev
mailing list