Actual source code: petscisdef.h

petsc-3.3-p7 2013-05-11
  1: !
  2: !
  3: !  Include file for Fortran use of the IS (index set) package in PETSc
  4: !
  5: #if !defined (__PETSCISDEF_H)

 8:  #include finclude/petscsysdef.h

 10: #if !defined(PETSC_USE_FORTRAN_DATATYPES) 
 11: #define IS PetscFortranAddr
 12: #define ISColoring PetscFortranAddr
 13: #endif

 15: #define ISType PetscEnum
 16: #define ISLocalToGlobalMapping PetscFortranAddr
 17: #define ISGlobalToLocalMappingType PetscEnum
 18: #define ISColoringType PetscEnum

 20: #define ISGENERAL 'general'
 21: #define ISSTRIDE 'stride'
 22: #define ISBLOCK 'block'
 23: #endif