Skip to main content
`Ctrl`+`K`

# PetscDSGetNumBoundary

Get the number of registered BC

## Synopsis

    #include "petscds.h"
    PetscErrorCode PetscDSGetNumBoundary(PetscDS ds, PetscInt *numBd)

## Input Parameter

- ds - The `PetscDS` object

## Output Parameter

- numBd - The number of BC

## See Also

`PetscDS`, `PetscDSAddBoundary()`, `PetscDSGetBoundary()`

## Level

intermediate

## Location

src/dm/dt/interface/dtds.c

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