petsc-3.3-p7 2013-05-11

MatQueryOp

Finds the function that implements a polymorphic operation that is dispatched based on the op name and the declared arguments' type names.

Synopsis

#include "petscmat.h" 
PetscErrorCode  MatQueryOp(MPI_Comm comm, PetscVoidFunction* function, const char op[], PetscInt numArgs, ...)
Formally collective on comm.

Input Parameters

comm - processors adding the op
op - operation name
numArgs - number of op arguments
... - list of argument type names (const char*)

Output Parameters

function -- function pointer

Level:advanced
Location:
src/mat/interface/matreg.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages