ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/utils/definitions.F90
(Generate patch)

Comparing trunk/OOPSE-4/src/utils/definitions.F90 (file contents):
Revision 1930 by gezelter, Wed Jan 12 22:41:40 2005 UTC vs.
Revision 2758 by gezelter, Wed May 17 19:54:27 2006 UTC

# Line 53 | Line 53 | module definitions
53    IMPLICIT NONE
54    PUBLIC
55  
56 < !! Machine dependent input and output (fortran 2000 will fix this standard)
56 >  !! Machine dependent input and output (fortran 2000 will fix this standard)
57    INTEGER, PARAMETER :: DEFAULT_INPUT  = 5
58    INTEGER, PARAMETER :: DEFAULT_OUTPUT = 6
59    INTEGER, PARAMETER :: DEFAULT_ERROR  = 0
60  
61 < !! Various precision parameters
62 <  
61 >  !! Various precision parameters
62 >
63    INTEGER, PARAMETER :: SP = selected_real_kind(4)
64 + #ifdef SINGLE_PRECISION
65 +  INTEGER, PARAMETER :: DP = selected_real_kind(4)
66 + #else
67    INTEGER, PARAMETER :: DP = selected_real_kind(8)
68 + #endif
69  
70 <
67 < !! Maximum number of fortran streams...
70 >  !! Maximum number of fortran streams...
71    INTEGER, PARAMETER :: MAX_UNITS = 100
72  
73 < !! number of dimensions in simulation
73 >  !! number of dimensions in simulation
74    INTEGER, PARAMETER :: ndim = 3
75 < !! Default Size parameter of nlists
75 >  !! Default Size parameter of nlists
76    INTEGER, PARAMETER :: nlistPrefactor = 80
77  
78   end module definitions

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines