PCPatchSetCellNumbering — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PCPatchSetCellNumbering

Set the `PetscSection` that provides a numbering of the cells used to define patches in a `PCPATCH` preconditioner

## Synopsis

    #include "petscpc.h"
    #include "petscmat.h"
    PetscErrorCode PCPatchSetCellNumbering(PC pc, PetscSection cellNumbering)

Logically Collective

## Input Parameters

- pc - the `PCPATCH` preconditioner

- cellNumbering - the `PetscSection` giving the cell numbering; its reference count is incremented

## See Also

KSP: Linear System Solvers, `PCPATCH`, `PCPatchGetCellNumbering()`, `PetscSection`

## Level

advanced

## Location

src/ksp/pc/impls/patch/pcpatch.c

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