Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions petsctools/cpetsc.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# IMPORTANT: This file cannot be accessed if petsctools is installed in editable mode.

from mpi4py cimport libmpi as cmpi
from petsc4py cimport PETSc as _PETSc

# clearer aliases from petsc4py, so the names here match the C API
Expand Down Expand Up @@ -53,6 +54,10 @@ cdef extern from "petscsf.h":
PetscInt rank
PetscInt index

PetscErrorCode PetscSFCreateSectionSF(PetscSF, PetscSection, PetscInt[], PetscSection, PetscSF*)
PetscErrorCode PetscSFBcastBegin(PetscSF,cmpi.MPI_Datatype,const void*, void*, cmpi.MPI_Op)
PetscErrorCode PetscSFBcastEnd(PetscSF,cmpi.MPI_Datatype,const void*, void*, cmpi.MPI_Op)
PetscErrorCode PetscSFDistributeSection(PetscSF,PetscSection,PetscInt*[],PetscSection)
PetscErrorCode PetscSFGetGraph(PetscSF,PetscInt*,PetscInt*,const PetscInt**,const PetscSFNode**)
PetscErrorCode PetscSFSetGraph(PetscSF,PetscInt,PetscInt,PetscInt*,PetscCopyMode,PetscSFNode*,PetscCopyMode)

Expand Down
Loading