Pierre Jolivet via petsc-dev <petsc-dev at mcs.anl.gov> writes: > OK, I was wrong about MATAIJ, as Jed already pointed out. > What about BAIJ or Dense matrices? BAIJ (and SBAIJ) is handled by MatXAIJSetPreallocation.