"Fossies" - the Fresh Open Source Software Archive

Member "petsc-3.12.4/docs/manualpages/Sys/PetscInt.html" (4 Feb 2020, 3665 Bytes) of package /linux/misc/petsc-3.12.4.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the petsc-3.12.4.tar.gz project site itself.

petsc-3.12.4 2020-02-04
Report Typos and Errors

PetscInt

PETSc type that represents an integer, used primarily to represent size of arrays and indexing into arrays. Its size can be configured with the option --with-64-bit-indices to be either 32-bit (default) or 64-bit.

Notes

For MPI calls that require datatypes, use MPIU_INT as the datatype for PetscInt. It will automatically work correctly regardless of the size of PetscInt.

See Also

PetscBLASInt, PetscMPIInt, PetscReal, PetscScalar, PetscComplex, PetscInt, MPIU_REAL, MPIU_SCALAR, MPIU_COMPLEX, MPIU_INT

Level

beginner

Location

include/petscsystypes.h

Examples

src/sys/classes/random/examples/tutorials/ex1.c.html
src/sys/classes/random/examples/tutorials/ex2.c.html
src/sys/examples/tutorials/ex5f90.F90.html
src/vec/vec/examples/tutorials/ex1f.F90.html
src/vec/vec/examples/tutorials/ex3f.F.html
src/vec/vec/examples/tutorials/ex4f90.F90.html
src/vec/vec/examples/tutorials/ex5f.F90.html
src/vec/vec/examples/tutorials/ex6f.F90.html
src/vec/vec/examples/tutorials/ex11f90.F90.html
src/vec/vec/examples/tutorials/ex12f.F90.html
src/vec/vec/examples/tutorials/ex16f.F90.html

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