petsc-3.3-p7 2013-05-11

MatGetNThreads

Get the number of threads used for matrix operations.

Synopsis

#include "petscmat.h" 
PetscErrorCode MatGetNThreads(Mat A,PetscInt *nthreads)
Not Collective

Input Parameter

A -the matrix

Output Parameter

nthreads -number of threads

See Also

MatCreateSeqAIJPThread(), MatSetNThreads()

Level:intermediate
Location:
src/mat/impls/aij/seq/seqpthread/seqaijpthread.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages