2: #include vecimpl.h 4: EXTERN PetscErrorCode PetscMapCreate_MPI(PetscMap); 9: /*@C 10: PetscMapRegisterAll - Registers all of the map components in the Vec package. 12: Not Collective 14: Input parameter: 15: . path - The dynamic library path 17: Level: advanced 19: .keywords: map, register, all 20: .seealso: PetscMapRegister(), PetscMapRegisterDestroy() 21: @*/ 22: PetscErrorCode PetscMapRegisterAll(const char path[]) 23: { 27: PetscMapRegisterAllCalled = PETSC_TRUE; 29: PetscMapRegisterDynamic(MAP_MPI, path, "PetscMapCreate_MPI", PetscMapCreate_MPI); 30: return(0); 31: }