<div dir="ltr">Hi PETSc team,<div><br></div><div>Any insights into why the residual equation for U & K are scaled by dx in this example (line no. 48-49 and 68 of in <a href="https://bitbucket.org/petsc/petsc/src/8db46702c31aaef455dabea2fa9d7dd897381b5d/src/snes/examples/tutorials/ex28.c?at=master#cl-8">ex28.c</a>)?</div><div><br></div><div>Additionally, the comment regarding algebraic equation is incorrect.</div><div><br></div><div><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-family:Consolas,Menlo,'Liberation Mono',Courier,monospace;font-size:12px;line-height:1.4;color:rgb(51,51,51)"><span class="" style="color:rgb(153,153,136);font-style:italic"><span style="line-height:1.4"> * Algebraic (K):</span></span></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-family:Consolas,Menlo,'Liberation Mono',Courier,monospace;font-size:12px;line-height:1.4;color:rgb(51,51,51)"><span class="" style="color:rgb(153,153,136);font-style:italic"><span style="line-height:1.4"> *     </span>exp(k-1) + k = u + 1/(1/(1+u) + 1/(1+u_x^2))"</span></pre></div><div><br></div><div>should be changed to</div><div><br></div><div><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-family:Consolas,Menlo,'Liberation Mono',Courier,monospace;font-size:12px;line-height:1.4;color:rgb(51,51,51)"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;white-space:normal"><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-family:Consolas,Menlo,'Liberation Mono',Courier,monospace;font-size:12px;line-height:1.4;color:rgb(51,51,51)"><span class="" style="color:rgb(153,153,136);font-style:italic"> * Algebraic (K):</span></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-family:Consolas,Menlo,'Liberation Mono',Courier,monospace;font-size:12px;line-height:1.4;color:rgb(51,51,51)"><span class="" style="color:rgb(153,153,136);font-style:italic"><span style="line-height:1.4"> *     </span>exp(k-1) + k = 1/(1/(1+u) + 1/(1+u_x^2))"</span></pre><div><span class="" style="color:rgb(153,153,136);font-style:italic"><br></span></div></div></pre></div><div>Thanks,</div><div>-Gautam.</div></div>