[petsc-dev] MatGetBlockSize[s]() before prellocation
Lisandro Dalcin
dalcinl at gmail.com
Fri Nov 1 11:38:57 CDT 2013
On 1 November 2013 19:23, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> 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?
>
OK.
--
Lisandro Dalcin
---------------
CIMEC (UNL/CONICET)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1016)
Tel/Fax: +54-342-4511169
More information about the petsc-dev
mailing list