[petsc-users] Jacobian matrix for dual porosity model

Jed Brown jed at jedbrown.org
Tue Jun 13 14:45:10 CDT 2017


Barry Smith <bsmith at mcs.anl.gov> writes:

>> On Jun 13, 2017, at 10:06 AM, Jed Brown <jed at jedbrown.org> wrote:
>> 
>> Adrian Croucher <a.croucher at auckland.ac.nz> writes:
>> 
>>> One way might be to form the whole Jacobian but somehow use a modified 
>>> KSP solve which would implement the reduction process, do a KSP solve on 
>>> the reduced system of size n, and finally back-substitute to find the 
>>> unknowns in the matrix rock cells.
>> 
>> You can do this with PCFieldSplit type Schur, but it's a lot heavier
>> than you might like.
>
>    Is it clear that it would produce much overhead compared to doing a custom "reduction to a smaller problem". Perhaps he should start with this and then profiling can show if there are any likely benefits to "specializing more"?

Yeah, that would be reasonable.  We don't have a concept of sparsity for
preconditioners so don't have a clean way to produce the exact (sparse)
Schur complement.  Computing this matrix using coloring should be
relatively inexpensive due to the independence in each cell and its
tridiagonal structure.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170613/28238992/attachment.pgp>


More information about the petsc-users mailing list