[petsc-dev] MatGetBlockSize[s]() before prellocation
Barry Smith
bsmith at mcs.anl.gov
Fri Nov 1 11:23:46 CDT 2013
On Nov 1, 2013, at 10:56 AM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> Lisandro Dalcin <dalcinl at gmail.com> writes:
>
>> Currently, MatGetBlockSize[s]() fails before matrix preallocation
>> because of the check MatCheckPreallocated(mat,1). Are there any
>> objections to remove that check?
>
> This is fine with me.
Presumably if it has not been set yet it would return -1 and that would be documented?
Barry
More information about the petsc-dev
mailing list