pbepack_kinds.F90 Source File


Files dependent on this one

sourcefile~~pbepack_kinds.f90~~AfferentGraph sourcefile~pbepack_kinds.f90 pbepack_kinds.F90 sourcefile~pbepack_agg.f90 pbepack_agg.f90 sourcefile~pbepack_agg.f90->sourcefile~pbepack_kinds.f90 sourcefile~pbepack_aggtypes.f90 pbepack_aggtypes.f90 sourcefile~pbepack_agg.f90->sourcefile~pbepack_aggtypes.f90 sourcefile~pbepack_algebra.f90 pbepack_algebra.f90 sourcefile~pbepack_agg.f90->sourcefile~pbepack_algebra.f90 sourcefile~pbepack_basetypes.f90 pbepack_basetypes.f90 sourcefile~pbepack_agg.f90->sourcefile~pbepack_basetypes.f90 sourcefile~pbepack_lib.f90 pbepack_lib.f90 sourcefile~pbepack_agg.f90->sourcefile~pbepack_lib.f90 sourcefile~pbepack_aggtypes.f90->sourcefile~pbepack_kinds.f90 sourcefile~pbepack_algebra.f90->sourcefile~pbepack_kinds.f90 sourcefile~pbepack_basetypes.f90->sourcefile~pbepack_kinds.f90 sourcefile~pbepack_basetypes.f90->sourcefile~pbepack_lib.f90 sourcefile~pbepack_break.f90 pbepack_break.f90 sourcefile~pbepack_break.f90->sourcefile~pbepack_kinds.f90 sourcefile~pbepack_break.f90->sourcefile~pbepack_basetypes.f90 sourcefile~pbepack_flow.f90 pbepack_flow.f90 sourcefile~pbepack_flow.f90->sourcefile~pbepack_kinds.f90 sourcefile~pbepack_flow.f90->sourcefile~pbepack_basetypes.f90 sourcefile~pbepack_growth.f90 pbepack_growth.f90 sourcefile~pbepack_growth.f90->sourcefile~pbepack_kinds.f90 sourcefile~pbepack_growth.f90->sourcefile~pbepack_basetypes.f90 sourcefile~pbepack_lib.f90->sourcefile~pbepack_kinds.f90 sourcefile~pbepack_pbe.f90 pbepack_pbe.f90 sourcefile~pbepack_pbe.f90->sourcefile~pbepack_kinds.f90 sourcefile~pbepack_pbe.f90->sourcefile~pbepack_agg.f90 sourcefile~pbepack_pbe.f90->sourcefile~pbepack_basetypes.f90 sourcefile~pbepack_pbe.f90->sourcefile~pbepack_break.f90 sourcefile~pbepack_pbe.f90->sourcefile~pbepack_flow.f90 sourcefile~pbepack_pbe.f90->sourcefile~pbepack_growth.f90 sourcefile~pbepack_pbe.f90->sourcefile~pbepack_lib.f90 sourcefile~pbepack_quadratures.f90 pbepack_quadratures.f90 sourcefile~pbepack_pbe.f90->sourcefile~pbepack_quadratures.f90 sourcefile~pbepack_quadratures.f90->sourcefile~pbepack_kinds.f90 sourcefile~pbepack_quadratures.f90->sourcefile~pbepack_lib.f90 sourcefile~pbepack.f90 pbepack.f90 sourcefile~pbepack.f90->sourcefile~pbepack_pbe.f90 sourcefile~pbepack.f90->sourcefile~pbepack_quadratures.f90

Source Code

module pbepack_kinds
!! Real kinds and common numeric constants.
   use, intrinsic :: iso_fortran_env, only: real32, real64
   implicit none
   private

   public :: rk, dp
   public :: EPS, ZERO, ONE, TWO, HALF
   public :: VOIDREAL

! #ifdef REAL32
!    integer, parameter :: rk = real32
! #elif REAL64
   integer, parameter :: rk = real64
! #else
!    integer, parameter :: rk = real64
! #endif
   integer, parameter :: dp = real64
   real(rk), parameter :: ZERO = 0._rk, ONE = 1._rk, TWO = 2._rk
   real(rk), parameter :: HALF = ONE/2
   real(rk), parameter :: EPS = epsilon(ONE)
   real(rk) :: VOIDREAL(1:0)

end module pbepack_kinds