Actual source code: vecregall.c
2: #include <private/vecimpl.h> /*I "vec.h" I*/
8: #if defined(PETSC_HAVE_PTHREADCLASSES)
11: #endif
12: #if defined(PETSC_HAVE_CUSP)
16: #endif
17: #if 0
18: #if defined(PETSC_HAVE_SIEVE)
20: #endif
21: #endif
26: /*@C
27: VecRegisterAll - Registers all of the vector components in the Vec package.
29: Not Collective
31: Input parameter:
32: . path - The dynamic library path
34: Level: advanced
36: .keywords: Vec, register, all
37: .seealso: VecRegister(), VecRegisterDestroy(), VecRegisterDynamic()
38: @*/
39: PetscErrorCode VecRegisterAll(const char path[])
40: {
44: VecRegisterAllCalled = PETSC_TRUE;
46: VecRegisterDynamic(VECSEQ, path, "VecCreate_Seq", VecCreate_Seq);
47: VecRegisterDynamic(VECMPI, path, "VecCreate_MPI", VecCreate_MPI);
48: VecRegisterDynamic(VECSTANDARD, path, "VecCreate_Standard", VecCreate_Standard);
49: VecRegisterDynamic(VECSHARED, path, "VecCreate_Shared", VecCreate_Shared);
50: #if defined(PETSC_HAVE_PTHREADCLASSES)
51: VecRegisterDynamic(VECSEQPTHREAD,path, "VecCreate_SeqPThread",VecCreate_SeqPThread);
52: VecRegisterDynamic(VECPTHREAD, path, "VecCreate_PThread", VecCreate_PThread);
53: #endif
54: #if defined PETSC_HAVE_CUSP
55: VecRegisterDynamic(VECSEQCUSP, path, "VecCreate_SeqCUSP", VecCreate_SeqCUSP);
56: VecRegisterDynamic(VECMPICUSP, path, "VecCreate_MPICUSP", VecCreate_MPICUSP);
57: VecRegisterDynamic(VECCUSP, path, "VecCreate_CUSP", VecCreate_CUSP);
58: #endif
59: #if 0
60: #if defined(PETSC_HAVE_SIEVE)
61: VecRegisterDynamic(VECSIEVE, path, "VecCreate_Sieve", VecCreate_Sieve);
62: #endif
63: #endif
64: return(0);
65: }