<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 6, 2013 at 10:05 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":1ox"> This same issue comes up in several preconditioners. We use the term True to indicate this (yes maybe not the best term)<br>
<br>
Barrys-MacBook-Pro:petsc-dev barrysmith$ grep True include/petscpc.h<br>
PETSC_EXTERN PetscErrorCode PCBJacobiSetUseTrueLocal(PC); -pc_bjacobi_truelocal<br>
PETSC_EXTERN PetscErrorCode PCKSPSetUseTrue(PC); -pc_ksp_true<br>
PETSC_EXTERN PetscErrorCode PCCompositeSetUseTrue(PC); -pc_composite_true<br>
<br>
There are possibly other PCs that could have this functionality but do not because we haven't realized it. It makes sense in any PC that internally has to apply the "full" (or part of the full) operator somewhere inside the application of the PC.<br>
</div></blockquote></div><br> ierr = PetscOptionsBool("-pc_fieldsplit_real_diagonal","Use diagonal blocks of the operator","PCFieldSplitSetRealDiagonal",jac->realdiagonal,&jac->realdiagonal,NULL);CHKERRQ(ierr);<br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra" style>Surely this should be renamed and the programmatic interface should be added.</div></div>