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 <[email protected]> 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

Reply via email to