MPIU_COUNT — PETSc 3.22.5 documentation

Skip to main content
`Ctrl`+`K`

# MPIU_COUNT

Portable MPI datatype corresponding to `PetscCount` independent of the precision of `PetscCount`

## Note

In MPI calls that require an MPI datatype that matches a `PetscCount` or array of `PetscCount` values, pass this value.

## Developer Note

It seems `MPI_AINT` is unsigned so this may be the wrong choice here since `PetscCount` is signed

## See Also

`PetscReal`, `PetscScalar`, `PetscComplex`, `PetscInt`, `MPIU_INT`, `MPIU_REAL`, `MPIU_SCALAR`, `MPIU_COMPLEX`

## Level

beginner

## Location

include/petscsys.h

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