Skip to main content
Ctrl+K
PETSc v3.24.5-709-g3c514f4e89b documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • PetscDAGetNDOF

PetscDAGetNDOF#

Get the number of degrees of freedom per grid point

Synopsis#

PetscErrorCode PetscDAGetNDOF(PetscDA da, PetscInt *ndof)

Not Collective

Input Parameter#

  • da - the PetscDA context

Output Parameter#

  • ndof - number of degrees of freedom per grid point

See Also#

PetscDA, PetscDASetNDOF()

Level#

intermediate

Location#

src/ml/da/interface/petscda.c


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

On this page
  • Synopsis
  • Input Parameter
  • Output Parameter
  • See Also
  • Level
  • Location
Edit on GitLab
Show Source

© Copyright 1991-2026, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2026-03-29T03:44:50-0500 (v3.24.5-709-g3c514f4e89b).