SNESPatchSetCellNumbering — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# SNESPatchSetCellNumbering

Set the `PetscSection` that provides a numbering of the cells used to define patches in a `SNESPATCH` solver

## Synopsis

    #include "petscsnes.h"
    PetscErrorCode SNESPatchSetCellNumbering(SNES snes, PetscSection cellNumbering)

Logically Collective

## Input Parameters

- snes - the `SNESPATCH` solver

- cellNumbering - the `PetscSection` giving the cell numbering; forwarded to the underlying `PCPATCH` via `PCPatchSetCellNumbering()`

## See Also

SNES: Nonlinear Solvers, `SNESPATCH`, `PCPATCH`, `PCPatchSetCellNumbering()`, `PetscSection`

## Level

advanced

## Location

src/snes/impls/patch/snespatch.c

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