[petsc-users] Petsc+Chombo example

Mark Adams mfadams at lbl.gov
Wed Aug 12 09:56:44 CDT 2015


On Tue, Aug 11, 2015 at 3:25 PM, Matthew Knepley <knepley at gmail.com> wrote:

> On Tue, Aug 11, 2015 at 2:10 PM, Mani Chandra <mc0710 at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150812/ce2890bc/attachment.html>


More information about the petsc-users mailing list