petsc-3.7.1 2016-05-15
Report Typos and Errors

PetscMPIInt

datatype used to represent 'int' parameters to MPI functions. Many br

Notes: usually this is the same as PetscInt, but if PETSc was built with --with-64-bit-indices but Many brstandard C/Fortran integers are 32 bit then this is NOT the same as PetscInt it remains 32 bit Many br

PetscMPIIntCast(a,&b) checks if the given PetscInt a will fit in a PetscMPIInt, if not it Many brgenerates a PETSC_ERR_ARG_OUTOFRANGE error. Many br

See Also

PetscBLASInt, PetscInt, PetscMPIIntCast()

Level:intermediate
Location:
include/petscsys.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ksp/ksp/examples/tutorials/ex6.c.html