petsc supports many sparse matrix storage formats, in which aij for compressed sparse row format baij for block compressed sparse row format sbaij for symmetric block compressed sparse row format. When block size bs=1, baij format is same as aij, and sbaij format is same as aij without storing the lower triangular entries.
Hong On Wed, 8 Nov 2006 billy at dem.uminho.pt wrote: > > What does the block size mean? > > Billy. > > Quoting Hong Zhang <hzhang at mcs.anl.gov>: > > > > > MatCreateMPIAIJ -> MatCreateMPISBAIJ (symmetric) with block size bs=1. > > > > Hong > > > > On Wed, 8 Nov 2006 billy at dem.uminho.pt wrote: > > > > > > > > Hi, > > > > > > > > > I am currently using MatCreateMPIAIJ type matrices. Is there a symmetric > > version > > > of this type? > > > > > > Like: > > > > > > MatCreateMPIBAIJ (non-symmetric) -> MatCreateMPISBAIJ (symmetric). > > > > > > MatCreateMPIAIJ (non-symmetric) -> MatCreateMPISAIJ (symmetric) ?? > > > > > > Billy. > > > > > > > > > > > > >
