<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 20/05/14 02:42, Matthew Knepley
wrote:<br>
</div>
<blockquote
cite="mid:CAMYG4GmG4zM4zx2QiUoFdxPL69A_he_H4ky50Cx6pca5bKTHKg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><br>
<div>All this stuff has now been fixed in master, and I
added a test of ex11 for shallow water that uses</div>
<div>reconstruction and limiters.</div>
</div>
</div>
</div>
</blockquote>
<br>
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():<br>
<br>
/home/acro018/software/PETSc/code/src/ts/examples/tutorials/ex11.c:
In function ‘main’:<br>
/home/acro018/software/PETSc/code/src/ts/examples/tutorials/ex11.c:1515:3:
warning: passing argument 2 of ‘DMPlexTSSetRHSFunctionLocal<br>
’ from incompatible pointer type [enabled by
default]
<br>
In file included from
/home/acro018/software/PETSc/code/src/ts/examples/tutorials/ex11.c:37:0:<br>
/home/acro018/software/PETSc/code/include/petscts.h:342:29: note:
expected ‘void (*)(const PetscReal *, const PetscReal *, const Petsc<br>
Scalar *, const PetscScalar *, PetscScalar *, void *)’ but argument
is of type ‘RiemannFunction’ <br>
<br>
Cheers, Adrian<br>
<pre class="moz-signature" cols="72">--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: <a class="moz-txt-link-abbreviated" href="mailto:a.croucher@auckland.ac.nz">a.croucher@auckland.ac.nz</a>
tel: +64 (0)9 923 4611
</pre>
</body>
</html>