size

integer variable used to contain the number of processors in the relevent MPI_Comm

See Also

rank, comm

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

Examples

src/sys/examples/tutorials/ex1.c.html
src/sys/examples/tutorials/ex2.c.html
src/vec/examples/tutorials/ex2.c.html
src/vec/examples/tutorials/ex5.c.html
src/vec/examples/tutorials/ex6.c.html
src/vec/examples/tutorials/ex7.c.html
src/vec/examples/tutorials/ex8.c.html
src/vec/examples/tutorials/ex9.c.html
src/vec/examples/tutorials/ex13.c.html
src/vec/examples/tutorials/ex2f.F.html
src/vec/examples/tutorials/ex9f.F.html