Blame view

fvn_common/fvn_common.f90 874 Bytes
b93026039   daniau   git-svn-id: https...
1
2
3
4
  module fvn_common
  ! This module contains routines that are used by more than one fvn submodule
  
  implicit none
8d883e8a1   wdaniau   Integration of ki...
5
6
7
8
  ! Kind Definition Module integrated into fvn_common
  integer, parameter :: ip_kind = kind(1)
  integer, parameter :: sp_kind = kind(1.0E0)
  integer, parameter :: dp_kind = kind(1.0D0)
b93026039   daniau   git-svn-id: https...
9
  ! We define pi and i for the module
f6bacaf83   cwaterkeyn   ChW 11/09: ANSI c...
10
  real(kind=dp_kind),parameter :: fvn_pi = 3.141592653589793_dp_kind
8d883e8a1   wdaniau   Integration of ki...
11
  real(kind=dp_kind),parameter :: fvn_el = 0.5772156649015328_dp_kind
f6bacaf83   cwaterkeyn   ChW 11/09: ANSI c...
12
  complex(kind=dp_kind),parameter :: fvn_i = (0._dp_kind,1._dp_kind)
b93026039   daniau   git-svn-id: https...
13
14
15
16
17
18
19
  
  ! 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
f6bacaf83   cwaterkeyn   ChW 11/09: ANSI c...
20
          double precision :: d1mach
b93026039   daniau   git-svn-id: https...
21
22
23
      end function
      function r1mach(i)
          integer :: i
f6bacaf83   cwaterkeyn   ChW 11/09: ANSI c...
24
          real :: r1mach
b93026039   daniau   git-svn-id: https...
25
26
27
28
      end function
  end interface
  
  end module fvn_common