source:
branches/2014/dev_r4650_UKMO14.4_OBS_GENERAL_VINTERP/NEMOGCM/TOOLS/SIREN/src/phycst.f90
@
5951
Last change on this file since 5951 was 5951, checked in by timgraham, 8 years ago | |
---|---|
|
|
File size: 1.2 KB |
Rev | Line | |
---|---|---|
[4213] | 1 | !---------------------------------------------------------------------- |
2 | ! NEMO system team, System and Interface for oceanic RElocable Nesting | |
3 | !---------------------------------------------------------------------- | |
4 | ! | |
5 | ! MODULE: phycst | |
6 | ! | |
7 | ! DESCRIPTION: | |
8 | !> @brief This module defines physical constant. | |
9 | ! | |
10 | !> @author | |
11 | !> J.paul | |
12 | ! REVISION HISTORY: | |
[5837] | 13 | !> @date November, 2013 - Initial Version |
[4213] | 14 | ! |
15 | !> @note Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) | |
16 | !---------------------------------------------------------------------- | |
17 | MODULE phycst | |
18 | USE kind ! F90 kind parameter | |
19 | ||
20 | IMPLICIT NONE | |
21 | ! NOTE_avoid_public_variables_if_possible | |
22 | ||
[5837] | 23 | PUBLIC :: dp_pi !< pi |
24 | PUBLIC :: dp_eps !< epsilon value | |
25 | PUBLIC :: dp_rearth !< earth radius (km) | |
26 | PUBLIC :: dp_deg2rad !< degree to radian ratio | |
[5951] | 27 | PUBLIC :: dp_rad2deg !< radian to degree ratio |
[5837] | 28 | PUBLIC :: dp_delta !< |
[4213] | 29 | |
[5837] | 30 | REAL(dp), PARAMETER :: dp_pi = 3.14159274101257_dp |
31 | REAL(dp), PARAMETER :: dp_eps = EPSILON(1._dp) | |
32 | REAL(dp), PARAMETER :: dp_rearth = 6871._dp | |
33 | REAL(dp), PARAMETER :: dp_deg2rad = dp_pi/180.0 | |
[5951] | 34 | REAL(dp), PARAMETER :: dp_rad2deg = 180.0/dp_pi |
[5837] | 35 | |
[5951] | 36 | REAL(dp), PARAMETER :: dp_delta=1.e-6 |
[4213] | 37 | END MODULE phycst |
38 |
Note: See TracBrowser
for help on using the repository browser.