PETSC_STATIC_INLINE PetscErrorCode PetscIntMultError(PetscInt a,PetscInt b,PetscInt *result)Not Collective Many br
a | - the PetscInt value Many br | |
b | - the second value Many br |
Output Parameter:ma Many br
Use PetscIntMult64bit() to compute the product of two 32 bit PetscInt and store in a Petsc64bitInt Many brUse PetscIntMultTruncate() to compute the product of two PetscInt and truncate it to fit in a PetscInt Many br
Developers Note: We currently assume that PetscInt addition can never overflow, this is obviously wrong but requires many more checks. Many br
Many br
Level:advanced
Location:include/petscsys.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages