Actual source code: slepcpepmod.F90
slepc-3.21.1 2024-04-26
Report Typos and Errors

      1: !
      2: !  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      3: !  SLEPc - Scalable Library for Eigenvalue Problem Computations
      4: !  Copyright (c) 2002-, Universitat Politecnica de Valencia, Spain
      5: !
      6: !  This file is part of SLEPc.
      7: !  SLEPc is distributed under a 2-clause BSD license (see LICENSE).
      8: !  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      9: !
     10:         module slepcpepdefdummy
     11:         use slepcepsdef
     12: #include <../src/pep/f90-mod/slepcpep.h>
     13:         end module

     15:         module slepcpepdef
     16:         use slepcpepdefdummy
     17:         interface operator (.ne.)
     18:           function pepnotequal(A,B)
     19:             import tPEP
     20:             logical pepnotequal
     21:             type(tPEP), intent(in) :: A,B
     22:           end function
     23:         end interface operator (.ne.)
     24:         interface operator (.eq.)
     25:           function pepequals(A,B)
     26:             import tPEP
     27:             logical pepequals
     28:             type(tPEP), intent(in) :: A,B
     29:           end function
     30:         end interface operator (.eq.)
     31:         end module

     33:         function pepnotequal(A,B)
     34:           use slepcpepdefdummy, only: tPEP
     35:           logical pepnotequal
     36:           type(tPEP), intent(in) :: A,B
     37:           pepnotequal = (A%v .ne. B%v)
     38:         end function

     40:         function pepequals(A,B)
     41:           use slepcpepdefdummy, only: tPEP
     42:           logical pepequals
     43:           type(tPEP), intent(in) :: A,B
     44:           pepequals = (A%v .eq. B%v)
     45:         end function

     47:         module slepcpep
     48:         use slepcpepdef
     49:         use slepceps
     50: #include <../src/pep/f90-mod/slepcpep.h90>
     51:         interface
     52: #include <../src/pep/f90-mod/ftn-auto-interfaces/slepcpep.h90>
     53:         end interface
     54:         end module