Actual source code: vecregall.c
2: #include vecimpl.h
4: EXTERN PetscErrorCode VecCreate_Seq(Vec);
5: EXTERN PetscErrorCode VecCreate_MPI(Vec);
6: EXTERN PetscErrorCode VecCreate_Shared(Vec);
7: EXTERN PetscErrorCode VecCreate_FETI(Vec);
12: /*@C
13: VecRegisterAll - Registers all of the vector components in the Vec package.
15: Not Collective
17: Input parameter:
18: . path - The dynamic library path
20: Level: advanced
22: .keywords: Vec, register, all
23: .seealso: VecRegister(), VecRegisterDestroy(), VecRegisterDynamic()
24: @*/
25: PetscErrorCode VecRegisterAll(const char path[])
26: {
30: VecRegisterAllCalled = PETSC_TRUE;
32: VecRegisterDynamic(VECSEQ, path, "VecCreate_Seq", VecCreate_Seq);
33: VecRegisterDynamic(VECMPI, path, "VecCreate_MPI", VecCreate_MPI);
34: VecRegisterDynamic(VECSHARED, path, "VecCreate_Shared", VecCreate_Shared);
35: VecRegisterDynamic(VECFETI, path, "VecCreate_FETI", VecCreate_FETI);
36: return(0);
37: }