[petsc-dev] Handling ADD_VALUES with DMComposite

Barry Smith bsmith at mcs.anl.gov
Tue Nov 16 14:05:58 CST 2010


  I guess adding the InsertMode is fine.

  I'm not down on ever using DMComposite, I'm only down on always using DMComposite.

   Barry


On Nov 16, 2010, at 12:16 PM, Jed Brown wrote:

> Barry, INSERT_VALUES is currently hard-coded.  When we talked at the lab, you seemed rather down on using DMComposite, but I don't see a good alternative for e.g. equations in a volume coupled to equations on the surface.  In any case, should DMCompositeGather() take an InsertMode argument?  Or is there a different way you had in mind?
> 
> Jed




More information about the petsc-dev mailing list