Blame view

fvn_common/fvn_common.f90 589 Bytes
b93026039   daniau   git-svn-id: https...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  module fvn_common
  ! This module contains routines that are used by more than one fvn submodule
  
  implicit none
  ! We define pi and i for the module
  real(kind=8),parameter :: fvn_pi = 3.141592653589793_8
  complex(kind=8),parameter :: fvn_i = (0._8,1._8)
  
  ! an integer variable that can be used to store the return status of different fvn subroutines
  integer :: fvn_status
  
  interface
      function d1mach(i)
          integer :: i
          real(8) :: d1mach
      end function
      function r1mach(i)
          integer :: i
          real(4) :: r1mach
      end function
  end interface
  
  end module fvn_common