2009-08-31 20:39:15 +05:30
|
|
|
!* $Id$
|
2007-03-20 19:25:22 +05:30
|
|
|
!##############################################################
|
|
|
|
MODULE prec
|
|
|
|
!##############################################################
|
|
|
|
|
|
|
|
implicit none
|
2009-06-15 18:41:21 +05:30
|
|
|
|
2007-03-29 12:45:12 +05:30
|
|
|
! *** Precision of real and integer variables ***
|
2009-06-09 16:35:29 +05:30
|
|
|
integer, parameter :: pReal = selected_real_kind(15,300) ! 15 significant digits, up to 1e+-300
|
|
|
|
integer, parameter :: pInt = selected_int_kind(9) ! up to +- 1e9
|
|
|
|
integer, parameter :: pLongInt = 8 ! should be 64bit
|
2009-03-31 14:21:14 +05:30
|
|
|
|
2009-03-04 17:18:54 +05:30
|
|
|
type :: p_vec
|
|
|
|
real(pReal), dimension(:), pointer :: p
|
|
|
|
end type p_vec
|
2007-03-20 19:25:22 +05:30
|
|
|
|
2009-08-31 20:39:15 +05:30
|
|
|
CONTAINS
|
|
|
|
|
|
|
|
subroutine prec_init
|
|
|
|
write(6,*)
|
|
|
|
write(6,*) '<<<+- prec init -+>>>'
|
|
|
|
write(6,*) '$Id$'
|
|
|
|
write(6,*)
|
|
|
|
return
|
|
|
|
end subroutine
|
|
|
|
|
|
|
|
|
2007-03-20 19:25:22 +05:30
|
|
|
END MODULE prec
|