Actual source code: petscdmmod.F

petsc-3.6.1 2015-08-06
Report Typos and Errors
  1: #define PETSC_USE_FORTRAN_MODULES

  3:         module  petscaodef
  4:         use petscmatdef
  5: #include <petsc/finclude/petscao.h>
  6: !#include <petsc/finclude/ftn-custom/petscaodef.h90>
  7:         end module

  9:         module petscao
 10:         use petscaodef
 11:         use petscmat
 12: !#include <petsc/finclude/petscao.h90>
 13:         end module

 15:         module petscdmdef
 16:         use petscaodef
 17: #include <petsc/finclude/petscdm.h>
 18: #include <petsc/finclude/ftn-custom/petscdmdef.h90>
 19:         end module

 21:         module petscdm
 22:         use petscdmdef
 23:         use petscao
 24: #include <petsc/finclude/petscdm.h90>
 25:         end module

 27:         module petscdmdadef
 28:         use petscdmdef
 29: #include <petsc/finclude/petscdmda.h>
 30: !#include <petsc/finclude/ftn-custom/petscdmdadef.h90>
 31:         end module

 33:         module petscdmda
 34:         use petscdmdadef
 35:         use petscdm
 36: #include <petsc/finclude/petscdmda.h90>
 37:         end module

 39:         module petscdmcomposite
 40:         use petscdm
 41: #include <petsc/finclude/petscdmcomposite.h90>
 42:         end module