MatMPIBAIJGetSeqBAIJ — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# MatMPIBAIJGetSeqBAIJ

Get the on-process (diagonal block) and off-process (off-diagonal block) `MATSEQBAIJ` matrices that make up an `MATMPIBAIJ` matrix, together with the local-to-global column map for the off-diagonal block.

## Synopsis

    #include "petscmat.h"
    PetscErrorCode MatMPIBAIJGetSeqBAIJ(Mat A, Mat *Ad, Mat *Ao, const PetscInt *colmap[])

Not Collective

## Input Parameter

- A - the `MATMPIBAIJ` matrix

## Output Parameters

- Ad - the diagonal block `MATSEQBAIJ`, or `NULL` if not needed

- Ao - the off-diagonal block `MATSEQBAIJ`, or `NULL` if not needed

- colmap - the local-to-global column index map for `Ao`, or `NULL` if not needed

## See Also

`Mat`, `MATMPIBAIJ`, `MATSEQBAIJ`, `MatMPIAIJGetSeqAIJ()`

## Level

advanced

## Location

src/mat/impls/baij/mpi/mpibaij.c

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages