Actual source code: matorderimpl.h
1: #pragma once
3: #include <petscmat.h>
4: #include <petsc/private/petscimpl.h>
6: /*
7: Defines the interface to the SparsePack routines, translated into C.
8: */
9: PETSC_EXTERN PetscErrorCode SPARSEPACKgen1wd(const PetscInt *, const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *);
10: PETSC_EXTERN PetscErrorCode SPARSEPACKgennd(const PetscInt *, const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *);
11: PETSC_EXTERN PetscErrorCode SPARSEPACKgenrcm(const PetscInt *, const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *);
12: PETSC_EXTERN PetscErrorCode SPARSEPACKgenqmd(const PetscInt *, const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *);
14: PETSC_EXTERN PetscErrorCode SPARSEPACKqmdrch(const PetscInt *, const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *);
15: PETSC_EXTERN PetscErrorCode SPARSEPACKqmdmrg(const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *);
16: PETSC_EXTERN PetscErrorCode SPARSEPACKqmdqt(const PetscInt *, const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *);
17: PETSC_EXTERN PetscErrorCode SPARSEPACKqmdupd(const PetscInt *, const PetscInt *, const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *);
18: PETSC_EXTERN PetscErrorCode SPARSEPACKfnroot(PetscInt *, const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *);
19: PETSC_EXTERN PetscErrorCode SPARSEPACKfn1wd(PetscInt *, const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *);
20: PETSC_EXTERN PetscErrorCode SPARSEPACKrevrse(const PetscInt *, PetscInt *);
21: PETSC_EXTERN PetscErrorCode SPARSEPACKrootls(const PetscInt *, const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *);
22: PETSC_EXTERN PetscErrorCode SPARSEPACKfndsep(PetscInt *, const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *);
23: PETSC_EXTERN PetscErrorCode SPARSEPACKdegree(const PetscInt *, const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *);
24: PETSC_EXTERN PetscErrorCode SPARSEPACKrcm(const PetscInt *, const PetscInt *, const PetscInt *, PetscInt *, PetscInt *, PetscInt *, PetscInt *);