<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 1, 2013 at 4:49 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2ze"> Should we add something like TSSetManufactoredForcingFunction() with which the user would provide the extra forcing term that makes TSSetSolutionFunction() the exact solution. Then when -ts_test is used TS automatically adds the artificial forcing term and compares the computed solution with the solution function provided by the user.<br>
</div></blockquote><div><br></div><div style>I don't know how we would implement this except to call the user just like an RHSFunction. The user's dofs may not have coordinates and even if they did, the forcing term should be integrated using quadrature consistent with the rest of the discretization.</div>
<div style><br></div><div style>I think just having the monitor for the difference and some examples that really check errors would be enough.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":2ze">
<br>
   Then in each TS example we can provide a solution and its forcing making it far more likely that people who copy examples also put in a test function?</div></blockquote></div><br><br></div></div>