[petsc-dev] BlockGetIndices and GetBlockIndices
Stefano Zampini
stefano.zampini at gmail.com
Wed Oct 16 09:41:53 CDT 2019
I just took a look at the ISGENERAL code. ISSetBlockSize_General just sets the block size of the layout (??)
ISGetIndices always return the data->idx memory.
So, a more profound question is: what is the model behind setting the block size on a ISGENERAL? And on a IS in general?
> On Oct 16, 2019, at 4:37 PM, Jed Brown <jed at jedbrown.org> wrote:
>
> Stefano Zampini via petsc-dev <petsc-dev at mcs.anl.gov> writes:
>
>>> Thoughts and/or comments? Would it make sense to add an ISGetBlockIndices/ISRestoreBlockIndices or would that be too confusing for the user?
>>
>> That would be more general and I think it makes sense, and should pair with ISGetBlockSize
>
> What happens if you call ISGetBlockIndices on an ISGeneral for which
> blocks are not contiguous?
More information about the petsc-dev
mailing list