<div class="gmail_quote">On Fri, Nov 11, 2011 at 10:08, Mark F. Adams <span dir="ltr"><<a href="mailto:mark.adams@columbia.edu">mark.adams@columbia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>First, "my" matrices (actually XGC1 matrices from one of my projects and I don't even know exactly what they do) put 1.0 on the diagonal for BCs and god knows how the thing is scaled (1e13 apparently). But this does not matter because the RHS and initial guess are 0.0 so the BCs have been completely removed from the algebra, even if they are still in the data structures.</div>
</blockquote><div><br></div><div>So what happens when you use the same method with inhomogeneous Dirichlet conditions? This is especially bad if the interior is scaled by, say, 1e-13 instead of 1e+13, because the boundary conditions dominate the initial residual.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><br></div><div>As I recall the preconditioned residual was confusing because since these are Laplacian matrices with a scale of 1e13, as you found, the residual dropped like 10 orders of magnitude in the first iteration, which was pretty confusing.</div>
</blockquote><div><br></div><div>The preconditioned residual fixes the scaling. If you evaluate the initial unpreconditioned residual, then you see the confusing scaling. But preconditioning, even with just Jacobi, fixes the scaling.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><br></div><div>So I don't see these XGC1 problems as being arguments for preconditioned residual, in fact they argue against it, right?</div>
</blockquote><div><br></div><div>The preconditioned residual fixes the scaling, assuming it is no worse than Jacobi.</div></div>