On Tue, Aug 11, 2015 at 3:25 PM, Matthew Knepley <[email protected]> wrote:

> On Tue, Aug 11, 2015 at 2:10 PM, Mani Chandra <[email protected]> wrote:
>
>> Hi,
>>
>> Is there an example where Petsc's SNES has been used with Chombo, and
>> perhaps with an automatic Jacobian assembly? I'd like to know if Petsc can
>> pick out the number of colors of a Chombo data structure like it can do
>> with a DMDA.
>>
>
> The specific kinds of colorings for structured grids also assume a
> colocated discretization which
> I am not sure Chombo uses. However, the greedy colorings which only use
> the matrix will work.
>

Chombo (me) creates an MPIAIJ matrix.  So automatic Jacobian assembly
should work.

I have put a SNES in a Chombo code, but did not use automatic Jacobian
assembly.

Mark


>
>   Thanks,
>
>     Matt
>
>
>> Thanks,
>> Mani
>>
>
>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which their
> experiments lead.
> -- Norbert Wiener
>

Reply via email to