[petsc-dev] problem with petscdm.h90
Matthew Knepley
knepley at gmail.com
Mon May 19 09:42:01 CDT 2014
On Mon, May 12, 2014 at 6:54 PM, Adrian Croucher
<a.croucher at auckland.ac.nz>wrote:
>
> On 13/05/14 11:39, Adrian Croucher wrote:
>
>> hi again
>>
>> Oh, it might be just a typo in petscdmdef.h, line 21- should be
>> PetscLimiter, not PetscFLimiter ?
>>
>
> That fixes the problem with compiling PETSc. I am getting some warnings
> now compiling TS ex11 though:
>
> /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:1463:22:
> warning: unused variable ‘limitname’ [-Wunused-variable]
> /home/acro018/software/PETSc/code/src/ts/examples/tutorials/ex11.c:1516:3:
> warning: passing argument 2 of ‘DMPlexTSSetRHSFunctionLocal’ from inc
> ompatible 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:354:29: note:
> expected ‘void (*)(const PetscReal *, const PetscReal *, const PetscScalar
> *,
> const PetscScalar *, PetscScalar *, void *)’ but argument is of type
> ‘RiemannFunction’
>
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
> 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/f5807178/attachment.html>
More information about the petsc-dev
mailing list