OOPS
qg_constants_mod.F90
Go to the documentation of this file.
1 ! (C) Copyright 2009-2016 ECMWF.
2 !
3 ! This software is licensed under the terms of the Apache Licence Version 2.0
4 ! which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
5 ! In applying this licence, ECMWF does not waive the privileges and immunities
6 ! granted to it by virtue of its status as an intergovernmental organisation nor
7 ! does it submit to any jurisdiction.
8 
10 
11 use kinds
12 
13 implicit none
14 
15 private
16 public :: pi,deg_to_rad,rad_to_deg
17 public :: req,omega,g
20 
21 ! Mathematical parameters
22 real(kind_real),parameter :: pi = acos(-1.0) !< Pi
23 real(kind_real),parameter :: deg_to_rad = pi/180.0_kind_real !< Degrees to radians
24 real(kind_real),parameter :: rad_to_deg = 180.0_kind_real/pi !< Radians to degrees
25 
26 ! Geophysical parameters
27 real(kind_real),parameter :: req = 6371229.0_kind_real !< Earth radius at equator (m)
28 real(kind_real),parameter :: omega = 7.2921e-5_kind_real !< Rotation rate of the Earth (rad/s)
29 real(kind_real),parameter :: g = 10.0_kind_real !< Gravity (m^2 s^{-2})
30 
31 ! Domain parameters
32 real(kind_real),parameter :: domain_zonal = 2.0*pi*req !< Model domain in zonal direction (m)
33 real(kind_real),parameter :: domain_meridional = 0.5*pi*req !< Model domain in meridional direction (m)
34 real(kind_real),parameter :: domain_depth = 1.0e4_kind_real !< Model depth (m)
35 real(kind_real),parameter :: f0 = 1.0e-4_kind_real !< Coriolis parameter at the center of the domain
36 real(kind_real),parameter :: bet0 = 1.5e-11_kind_real !< Meridional gradient of f (s^{-1} m^{-1})
37 real(kind_real),parameter :: dlogtheta = 0.1_kind_real !< Difference in log(pot. T) across boundary
38 
39 ! Heating term parameters
40 real(kind_real),parameter :: heating_amplitude = 5.0e-5_kind_real !< Heating term amplitude
41 real(kind_real),parameter :: heating_scale = 1000e3_kind_real !< Heating term scale (m)
42 
43 end module qg_constants_mod
qg_constants_mod::domain_zonal
real(kind_real), parameter, public domain_zonal
Model domain in zonal direction (m)
Definition: qg_constants_mod.F90:32
qg_constants_mod::bet0
real(kind_real), parameter, public bet0
Meridional gradient of f (s^{-1} m^{-1})
Definition: qg_constants_mod.F90:36
qg_constants_mod::g
real(kind_real), parameter, public g
Gravity (m^2 s^{-2})
Definition: qg_constants_mod.F90:29
qg_constants_mod::heating_scale
real(kind_real), parameter, public heating_scale
Heating term scale (m)
Definition: qg_constants_mod.F90:41
qg_constants_mod
Definition: qg_constants_mod.F90:9
qg_constants_mod::dlogtheta
real(kind_real), parameter, public dlogtheta
Difference in log(pot. T) across boundary.
Definition: qg_constants_mod.F90:37
qg_constants_mod::f0
real(kind_real), parameter, public f0
Coriolis parameter at the center of the domain.
Definition: qg_constants_mod.F90:35
qg_constants_mod::domain_depth
real(kind_real), parameter, public domain_depth
Model depth (m)
Definition: qg_constants_mod.F90:34
qg_constants_mod::rad_to_deg
real(kind_real), parameter, public rad_to_deg
Radians to degrees.
Definition: qg_constants_mod.F90:24
qg_constants_mod::domain_meridional
real(kind_real), parameter, public domain_meridional
Model domain in meridional direction (m)
Definition: qg_constants_mod.F90:33
qg_constants_mod::req
real(kind_real), parameter, public req
Earth radius at equator (m)
Definition: qg_constants_mod.F90:27
qg_constants_mod::pi
real(kind_real), parameter, public pi
Pi.
Definition: qg_constants_mod.F90:22
qg_constants_mod::heating_amplitude
real(kind_real), parameter, public heating_amplitude
Heating term amplitude.
Definition: qg_constants_mod.F90:40
qg_constants_mod::omega
real(kind_real), parameter, public omega
Rotation rate of the Earth (rad/s)
Definition: qg_constants_mod.F90:28
qg_constants_mod::deg_to_rad
real(kind_real), parameter, public deg_to_rad
Degrees to radians.
Definition: qg_constants_mod.F90:23