[petsc-dev] questions on new include organization

Barry Smith bsmith at mcs.anl.gov
Wed Feb 13 22:45:55 CST 2013


On Feb 13, 2013, at 10:39 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> 
> On Wed, Feb 13, 2013 at 10:35 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>  After trying to put it into petscpc.h I remembered why it was separate. It uses the KSP object. So either we put part of the interface in petscksp.h or typedef KSP in petscpc.h so I'll leave it as is for now.
> 
> Ah, that's why PCFieldSplitGetSubKSP() is in petscksp.h, along with MatSchurComplement stuff.

  Yuck. So using two different bad ways of resolving the same problem! Not good.

   I'm inclined to get rid of petscpcmg.h anyways (and its 3 Fortran versions). Then we are at least solving the same problem with only one bad way.

  Barry





More information about the petsc-dev mailing list