Skip to main content
Ctrl+K
PETSc 3.21.6 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
  • PetscCount

PetscCount#

signed datatype used to represent counts

Notes#

This is equivalent to ptrdiff_t, but defined for consistency with Fortran, which lacks a native equivalent of ptrdiff_t.

Use PetscCount_FMT to format with PetscPrintf(), printf(), and related functions.

See Also#

PetscInt, PetscInt64, PetscSizeT

Level#

intermediate

Location#

include/petscsystypes.h

Examples#

src/snes/tutorials/ex55k.kokkos.cxx


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

On this page
  • Notes
  • See Also
  • Level
  • Location
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2024, 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 2024-09-28T12:51:19-0500 (v3.21.6).