xref: /petsc/src/binding/petsc4py/src/petsc4py/PETSc/petsclayout.pxi (revision 552edb6364df478b294b3111f33a8f37ca096b20)
1# --------------------------------------------------------------------
2
3cdef extern from * nogil:
4
5    struct _n_PetscLayout
6    ctypedef _n_PetscLayout* PetscLayout
7    PetscErrorCode PetscLayoutSetLocalSize(PetscLayout, PetscInt)
8    PetscErrorCode PetscLayoutSetSize(PetscLayout, PetscInt)
9    PetscErrorCode PetscLayoutGetBlockSize(PetscLayout, PetscInt*)
10    PetscErrorCode PetscLayoutSetBlockSize(PetscLayout, PetscInt)
11    PetscErrorCode PetscLayoutSetUp(PetscLayout)
12
13# --------------------------------------------------------------------
14