PetscMPIIntCast#
casts a PetscInt (which may be 64-bits in size) to a PetscMPIInt (which may be 32-bits in size), generates an error if the PetscMPIInt is not large enough to hold the number.
Synopsis#
static inline PetscErrorCode PetscMPIIntCast(PetscInt a, PetscMPIInt *b)
Not Collective; No Fortran Support
Input Parameter#
a - the
PetscIntvalue
Output Parameter#
b - the resulting
PetscMPIIntvalue
See Also#
PetscBLASInt, PetscMPIInt, PetscInt, PetscBLASIntCast(), PetscIntCast()
Level#
advanced
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages