<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 19, 2014 at 6:42 PM, Adrian Croucher <span dir="ltr"><<a href="mailto:a.croucher@auckland.ac.nz" target="_blank">a.croucher@auckland.ac.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<br>
<div>On 20/05/14 02:42, Matthew Knepley
wrote:<br>
</div>
<blockquote type="cite">
<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></div></blockquote><div><br></div><div>Its complaining about the return type. Will fix.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Cheers, Adrian<span class=""><font color="#888888"><br>
<pre cols="72">--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: <a href="mailto:a.croucher@auckland.ac.nz" target="_blank">a.croucher@auckland.ac.nz</a>
tel: <a href="tel:%2B64%20%280%299%20923%204611" value="+6499234611" target="_blank">+64 (0)9 923 4611</a>
</pre>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>