<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 16, 2017 at 7:22 PM, Mark Adams <span dir="ltr"><<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I am having problems with explicit + FEM. I set the DM with something like:<br></div><div><br></div><div><div>    ierr = DMTSSetRHSFunctionLocal(dm, DMPlexTSComputeRHSFunctionFVM, &ctx);CHKERRQ(ierr);</div></div><div><br></div><div>But DMPlexTSComputeRHSFunctionFVM calls DMPlexComputeResidual_<wbr>Internal without a "locX_t" so there is no time derivative and so the FEM point functions do not get a time derivative (u_t).</div><div><br></div><div>I'm not sure if I am missing something or if PETSc is missing this functionality.</div></div></blockquote><div><br></div><div>Its missing. We will have to put in a  DMPlexTSComputeRHSFunctionFEM().<br></div><div><br></div><div>   Matt</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="gmail-HOEnZb"><font color="#888888"><div>Mark</div></font></span></div></blockquote></div>-- <br><div class="gmail_signature">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></div>