[petsc-dev] SNESDefaultComputeJacobianColor with IS_COLORING_GHOSTED

Barry Smith bsmith at mcs.anl.gov
Wed Apr 21 13:47:46 CDT 2010

On Apr 21, 2010, at 1:41 PM, Jed Brown wrote:

> Maybe I was doing something wrong, but I thought ghosted coloring  
> with a
> non-"local" function was not supposed to work.

    Right it should not work.

> Unfortunately, I just
> get memory errors/wrong results (I bumped into this with ts ex10, but
> it's relevant elsewhere).

    This will happen.

> It seems to me that ghosted coloring is a
> really desirable thing, bit is it worth defining a new interface  
> just to
> make it more widely available (e.g. from within TS)?

    We started with global functions then "hacked" on the support for  
using local functions since it requires much less communication. It  
was "hacked on" in order to reuse as much code as possible.  Yes it  
should be usable from TS.


> Jed

More information about the petsc-dev mailing list