Date: 2016-07-24T16:58:15+00:00

Actual source code: petscheap.h
petsc-3.7.3 2016-07-24
Report Typos and Errors

      1: #if !defined(_petscheap_h)
      2: #define _petscheap_h

      4: #include <petscsys.h>

      6: typedef struct _PetscHeap *PetscHeap;

      8: PETSC_EXTERN PetscErrorCode PetscHeapCreate(PetscInt,PetscHeap*);
      9: PETSC_EXTERN PetscErrorCode PetscHeapAdd(PetscHeap,PetscInt,PetscInt);
     10: PETSC_EXTERN PetscErrorCode PetscHeapPop(PetscHeap,PetscInt*,PetscInt*);
     11: PETSC_EXTERN PetscErrorCode PetscHeapPeek(PetscHeap,PetscInt*,PetscInt*);
     12: PETSC_EXTERN PetscErrorCode PetscHeapStash(PetscHeap,PetscInt,PetscInt);
     13: PETSC_EXTERN PetscErrorCode PetscHeapUnstash(PetscHeap);
     14: PETSC_EXTERN PetscErrorCode PetscHeapDestroy(PetscHeap*);
     15: PETSC_EXTERN PetscErrorCode PetscHeapView(PetscHeap,PetscViewer);

     17: #endif