Actual source code: petsckspmod.F

petsc-3.7.3 2016-08-01
Report Typos and Errors
  1: #define PETSC_USE_FORTRAN_MODULES

  3:         module petscpcdef
  4:         use petscdmdef
  5: #include <petsc/finclude/petscpc.h>
  6: #include <petsc/finclude/ftn-custom/petscpcdef.h90>
  7:         end module

  9:         module petsckspdef
 10:         use petscpcdef
 11: #include <petsc/finclude/petscksp.h>
 12: #include <petsc/finclude/ftn-custom/petsckspdef.h90>
 13:         end module

 15:         module petscpc
 16:         use petsckspdef
 17:         use petscdm
 18: #include <petsc/finclude/petscpc.h90>
 19:         end module

 21:         module petscksp
 22:         use petsckspdef
 23:         use petscpc
 24: #include <petsc/finclude/petscksp.h90>
 25:         end module