petsc-master 2020-08-25
PetscBLASIntCast
casts a PetscInt (which may be 64 bits in size) to a PetscBLASInt (which may be 32 bits in size), generates an error if the PetscBLASInt is not large enough to hold the number.
Synopsis
PETSC_STATIC_INLINE PetscErrorCode PetscBLASIntCast(PetscInt a,PetscBLASInt *b)
Not Collective
Input Parameter
Output Parameter
Not available from Fortran
See Also
PetscBLASInt, PetscMPIInt, PetscInt, PetscMPIIntCast(), PetscIntCast()
Level
advanced
Location
include/petscsys.h
Examples
src/ts/tutorials/ex50.c.html
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages