1: #define PETSC_USE_FORTRAN_MODULES 3: module petsctsdef
4: use petscsnesdef
5: #include <petsc/finclude/petscts.h>
6: #include <petsc/finclude/ftn-custom/petsctsdef.h90>
7: end module
9: module petscts
10: use petsctsdef
11: use petscsnes
12: #include <petsc/finclude/petscts.h90>
13: end module
16: ! The all encompassing petsc module
18: module petscdef
19: use petscdmdadef
20: use petsctsdef
21: end module
23: module petsc
24: use petscdmda
25: use petscdmcomposite
26: use petscts
27: end module