[petsc-dev] problem with petscdm.h90
Adrian Croucher
a.croucher at auckland.ac.nz
Mon May 12 18:54:42 CDT 2014
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’
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
More information about the petsc-dev
mailing list