[petsc-users] Questions regarding nested field split

Sundar Namala solomon.sundar.n at gmail.com
Fri Feb 25 13:38:38 CST 2022


Hi, I am currently using fieldsplit and I am creating the fields using
ISCreateGeneral.programming is being carried out in FORTRAN. I have a
couple of questions regarding fieldsplit in parallel.

Do we need to create the index list of all the fields separately for each
processor?

For example, say I have 3 fields and the indices for field_0 is 0-99,
field_1 is 100-299 and field_2 is 300-349. In case of 2 processors do I
have to specify the indices for the first processor as field_0 is 0-99,
field_1 is 100-174 and field_2 is null. On the second processor field_0 is
null, field_1 is 175-299 and field_2 is 300-349.

my second question is if the indices need to be listed separately how do
you assign the null index list using ISCreateGeneral.

Thanks,
Sundar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220225/7f4dfae9/attachment.html>


More information about the petsc-users mailing list