Actual source code: matioall.c

 2:  #include petscmat.h

  5: EXTERN PetscErrorCode MatConvertTo_MPIAdj(Mat,MatType,Mat*);

 10: /*@C
 11:     MatConvertRegisterAll - Registers all standard matrix type routines to convert to

 13:   Not Collective

 15:   Level: developer

 17:   Notes: To prevent registering all matrix types; copy this routine to 
 18:          your source code and comment out the versions below that you do not need.

 20: .seealso: MatRegister(), MatConvert()

 22: @*/
 23: PetscErrorCode MatConvertRegisterAll(const char path[])
 24: {

 28:   MatConvertRegisterAllCalled = PETSC_TRUE;
 29:   MatConvertRegisterDynamic(MATMPIADJ,path,"MatConvertTo_MPIAdj",MatConvertTo_MPIAdj);
 30:   return(0);
 31: }