[petsc-dev] baij block orintation
Barry Smith
bsmith at mcs.anl.gov
Thu Mar 20 12:28:30 CDT 2014
On Mar 19, 2014, at 10:50 PM, Abhyankar, Shrirang G. <abhyshr at mcs.anl.gov> wrote:
> Column.
Note that when calling MatSetValues() or MatSetValuesBlocked() the input data is by default row-oriented. You can use MatSetOption(mat,MAT_ROW_ORIENTED,PETSC_FALSE) to switch to column oriented input see the manual page for MatSetValuesBlocked for example.
Internally, as Shri said the data is always stored column oriented regardless of how you pass it in.
Barry
>
> -----Original Message-----
> From: Jose David Bermeol <jbermeol at purdue.edu>
> Date: Wed, 19 Mar 2014 23:45:15 -0400
> To: petsc-dev mailing list <petsc-dev at mcs.anl.gov>
> Subject: [petsc-dev] baij block orintation
>
>> Hi, one question, is each block of the matrix baij store in row major
>> order or column major order.
>>
>> Thnaks
>
More information about the petsc-dev
mailing list