[petsc-users] Problem setting Fieldsplit fields
Nicolas Barnafi
nbarnafi at cmm.uchile.cl
Wed Feb 22 11:54:29 CST 2023
Hi Matt,
Sorry for the late answer, it was holiday time.
> Just to clarify, if you call SetIS() 3 times, and then give
>
> -pc_fieldsplit_0_fields 0,2
>
> then we should reduce the number of fields to two by calling
> ISConcatenate() on the first and last ISes?
Exactly
> I think this should not be hard. It will work exactly as it does on
> the DM case, except the ISes will come from
> the PC, not the DM. One complication is that you will have to hold the
> new ISes until the end, and then set them.
>
> Thanks,
>
> Matt
Nice, then it is exactly what I want. I will work on it, and create a PR
when things are starting to fit in.
Best,
NB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230222/1f0efa58/attachment.html>
More information about the petsc-users
mailing list