[petsc-users] odd SNES behavior

Jed Brown jedbrown at mcs.anl.gov
Wed Mar 6 22:19:35 CST 2013


On Wed, Mar 6, 2013 at 10:05 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>  This same issue comes up in several preconditioners. We use the term True
> to indicate this (yes maybe not the best term)
>
> Barrys-MacBook-Pro:petsc-dev barrysmith$ grep True include/petscpc.h
> PETSC_EXTERN PetscErrorCode PCBJacobiSetUseTrueLocal(PC);
> -pc_bjacobi_truelocal
> PETSC_EXTERN PetscErrorCode PCKSPSetUseTrue(PC);
> -pc_ksp_true
> PETSC_EXTERN PetscErrorCode PCCompositeSetUseTrue(PC);
> -pc_composite_true
>
>  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.
>

  ierr = PetscOptionsBool("-pc_fieldsplit_real_diagonal","Use diagonal
blocks of the
operator","PCFieldSplitSetRealDiagonal",jac->realdiagonal,&jac->realdiagonal,NULL);CHKERRQ(ierr);

Surely this should be renamed and the programmatic interface should be
added.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130306/50bb3ea1/attachment-0001.html>


More information about the petsc-users mailing list