Actual source code: mapregall.c
1: #ifdef PETSC_RCS_HEADER
2: static char vcid[] = "$Id: mapregall.c,v 1.1 1999/06/21 02:03:51 knepley Exp $";
3: #endif
5: #include src/vec/vecimpl.h
6: EXTERN_C_BEGIN
7: extern int PetscMapCreate_MPI(PetscMap);
9: extern int PetscMapSerialize_MPI(MPI_Comm, PetscMap *, PetscViewer, PetscTruth);
10: EXTERN_C_END
12: #undef __FUNCT__
14: /*@C
15: PetscMapRegisterAll - Registers all of the map components in the Vec package.
17: Not Collective
19: Input parameter:
20: . path - The dynamic library path
22: Level: advanced
24: .keywords: map, register, all
25: .seealso: PetscMapRegister(), PetscMapRegisterDestroy()
26: @*/
27: int PetscMapRegisterAll(const char path[])
28: {
32: PetscMapRegisterAllCalled = PETSC_TRUE;
34: PetscMapRegister(MAP_MPI, path, "PetscMapCreate_MPI", PetscMapCreate_MPI);
35: return(0);
36: }
38: #undef __FUNCT__
40: /*@C
41: PetscMapSerializeRegisterAll - Registers all of the serialization routines in the Vec package.
43: Not Collective
45: Input parameter:
46: . path - The dynamic library path
48: Level: advanced
50: .keywords: PetscMap, register, all, serialize
51: .seealso: PetscMapSerializeRegister(), PetscMapSerializeRegisterDestroy()
52: @*/
53: int PetscMapSerializeRegisterAll(const char path[])
54: {
58: PetscMapSerializeRegisterAllCalled = PETSC_TRUE;
60: PetscMapSerializeRegister(MAP_SER_MPI_BINARY, path, "PetscMapSerialize_MPI", PetscMapSerialize_MPI);
61: return(0);
62: }