Actual source code: mapregall.c

  1: #define PETSCVEC_DLL

 3:  #include vecimpl.h
  5: EXTERN PetscErrorCode PETSCVEC_DLLEXPORT PetscMapCreate_MPI(PetscMap);

 10: /*@C
 11:   PetscMapRegisterAll - Registers all of the map components in the Vec package. 

 13:   Not Collective

 15:   Input parameter:
 16: . path - The dynamic library path

 18:   Level: advanced

 20: .keywords: map, register, all
 21: .seealso: PetscMapRegister(), PetscMapRegisterDestroy()
 22: @*/
 23: PetscErrorCode PETSCVEC_DLLEXPORT PetscMapRegisterAll(const char path[])
 24: {

 28:   PetscMapRegisterAllCalled = PETSC_TRUE;

 30:   PetscMapRegisterDynamic(MAP_MPI, path, "PetscMapCreate_MPI", PetscMapCreate_MPI);
 31:   return(0);
 32: }