PetscCIntCast#
casts a MPI_Count
, PetscInt
, PetscCount
, or PetscInt64
to a int
, generates an error if the int
is not large enough to hold the number.
Synopsis#
static inline PetscErrorCode PetscCIntCast(MPIU_Count a, int *b)
Not Collective; No Fortran Support
Input Parameter#
a - the
PetscInt
value
Output Parameter#
b - the resulting
int
value, orNULL
if the result is not needed
See Also#
PETSc and standard datatypes, PetscBLASInt
, PetscMPIInt
, PetscInt
, PetscMPIIntCast()
, PetscBLASIntCast()
, PetscIntCast()
Level#
advanced
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages