Actual source code: matioall.c

  1: /*$Id: matioall.c,v 1.23 2001/03/23 23:22:45 balay Exp $*/

 3:  #include petscmat.h

  5: EXTERN_C_BEGIN
  6: EXTERN int MatConvertTo_MPIAdj(Mat,MatType,Mat*);
  7: EXTERN_C_END

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

 14:   Not Collective

 16:   Level: developer

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

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

 23: @*/
 24: int MatConvertRegisterAll(const char path[])
 25: {

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