AIJ and BAIJ convertion
Satish Balay
balay at mcs.anl.gov
Tue May 5 10:18:29 CDT 2009
This is assuming MatCreate() is used - not MatCreateMPIAIJ()..
Satish
On Tue, 5 May 2009, Hong Zhang wrote:
>
> Run your code with the option
> '-mat_type baij -mat_block_size 6'
> You can use '-mat_view_info' to varify the matrix type
> that is actually used.
>
> Hong
>
> On Tue, 5 May 2009, SUN Chun wrote:
>
> > Hi,
> >
> > I created a matrix with AIJ format. I knew the structure of this matrix
> > should also fit BAIJ type with some certain block size (say 6). Now instead
> > of creating another BAIJ matrix then fill in the values again, do I have an
> > easier way to convert this AIJ matrix to BAIJ matrix with given block size?
> > I'm willing to allocate another memory for the new matrix.
> >
> > Thanks,
> > Chun
> >
>
More information about the petsc-users
mailing list