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#

Not Collective

Input Parameter#

Output Parameter#

Not available from Fortran

See Also#

PetscBLASInt, PetscMPIInt, PetscInt, PetscBLASIntCast(), PetscIntCast()

Level#

advanced

Location#

include/petscsys.h

Examples#

src/snes/tutorials/ex48.c.html
src/ts/tutorials/ex14.c.html


Edit on GitLab

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