petsc-3.3-p7 2013-05-11

PetscGetNCores

Gets the number of available cores on the system

Synopsis

#include "petscthreadcomm.h" 
PetscErrorCode PetscGetNCores(PetscInt *ncores)

Notes Defaults to 1 if the available core count cannot be found

Level:developer
Location:
src/sys/threadcomm/threadcomm.c
Index of all PetscThreadComm routines
Table of Contents for all manual pages
Index of all manual pages