[petsc-users] Conversion between AIJ & BAIJ

Barry Smith bsmith at mcs.anl.gov
Tue Jan 20 16:39:02 CST 2015


  You can do a MatConvert() (requires another copy of the matrix) for the parts that benefit from BAIJ.

  Barry

> On Jan 20, 2015, at 4:33 PM, Chung-Kan Huang <ckhuangf at gmail.com> wrote:
> 
> Hi,
>  
> Does PETSc provide means for conversion between AIJ & BAIJ.
>  
> My matrix is created as AIJ because it makes life easy for most part of the applications but some part of applications actually get some benefits with BAIJ.  So I wonder if a matrix can exist as two idenfities and I can use either format depend on which one is more convenient at run time.
>  
> So in my case the block size is fixed and identical for all blocks.
>  
>  
> Thanks,
>  
>  
> Kan



More information about the petsc-users mailing list