#include "petscpc.h" PetscErrorCode PCBDDCSetLocalAdjacencyGraph(PC pc,PetscInt nvtxs,const PetscInt xadj[],const PetscInt adjncy[], PetscCopyMode copymode)Not collective
pc | - the preconditioning context. | |
nvtxs | - number of local vertices of the graph (i.e., the number of local dofs). | |
xadj, adjncy | - the connectivity of the dofs in CSR format. | |
copymode | - supported modes are PETSC_COPY_VALUES, PETSC_USE_POINTER or PETSC_OWN_POINTER. |
Notes: A dof is considered connected with all local dofs if xadj[dof+1]-xadj[dof] == 1 and adjncy[xadj[dof]] is negative.