New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
phycst.f90 in branches/UKMO/dev_r5518_v3.6_asm_nemovar_community/NEMOGCM/TOOLS/SIREN/src – NEMO

source: branches/UKMO/dev_r5518_v3.6_asm_nemovar_community/NEMOGCM/TOOLS/SIREN/src/phycst.f90 @ 7731

Last change on this file since 7731 was 7731, checked in by dford, 7 years ago

Merge in revisions 6625:7726 of dev_r5518_v3.4_asm_nemovar_community, so this branch will be identical to revison 7726 of dev_r5518_v3.6_asm_nemovar_community.

File size: 1.2 KB
RevLine 
[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:
[5037]13!> @date November, 2013 - Initial Version
[4213]14!
15!> @note Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt)
16!----------------------------------------------------------------------
17MODULE phycst
18   USE kind                         ! F90 kind parameter
19
20   IMPLICIT NONE
21   ! NOTE_avoid_public_variables_if_possible
22
[5037]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
[7731]27   PUBLIC :: dp_rad2deg !< radian to degree ratio
[5037]28   PUBLIC :: dp_delta   !< 
[4213]29
[5037]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
[7731]34   REAL(dp), PARAMETER :: dp_rad2deg = 180.0/dp_pi
[5037]35
[7731]36   REAL(dp), PARAMETER :: dp_delta=1.e-6
[4213]37END MODULE phycst
38
Note: See TracBrowser for help on using the repository browser.