WAVEWATCH III  beta 0.0.1
scrip_constants.f
Go to the documentation of this file.
1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 !
3 ! This module defines common constants used in many routines.
4 !
5 !-----------------------------------------------------------------------
6 !
7 ! CVS:$Id: constants.f,v 1.2 2000/04/19 21:56:25 pwjones Exp $
8 !
9 ! Copyright (c) 1997, 1998 the Regents of the University of
10 ! California.
11 !
12 ! This software and ancillary information (herein called software)
13 ! called SCRIP is made available under the terms described here.
14 ! The software has been approved for release with associated
15 ! LA-CC Number 98-45.
16 !
17 ! Unless otherwise indicated, this software has been authored
18 ! by an employee or employees of the University of California,
19 ! operator of the Los Alamos National Laboratory under Contract
20 ! No. W-7405-ENG-36 with the U.S. Department of Energy. The U.S.
21 ! Government has rights to use, reproduce, and distribute this
22 ! software. The public may copy and use this software without
23 ! charge, provided that this Notice and any statement of authorship
24 ! are reproduced on all copies. Neither the Government nor the
25 ! University makes any warranty, express or implied, or assumes
26 ! any liability or responsibility for the use of this software.
27 !
28 ! If software is modified to produce derivative works, such modified
29 ! software should be clearly marked, so as not to confuse it with
30 ! the version available from Los Alamos National Laboratory.
31 !
32 ! This code has been modified from the version available from
33 ! Los Alamos National Laboratory, for the purpose of running it
34 ! within WW3.
35 !
36 !***********************************************************************
37 
39 
40 !-----------------------------------------------------------------------
41 
42  use scrip_kindsmod ! defines common data types
43 
44  implicit none
45 
46  save
47 
48 !-----------------------------------------------------------------------
49 
50  real (kind = scrip_r8), parameter ::
51  & zero = 0.0_scrip_r8,
52  & one = 1.0_scrip_r8,
53  & two = 2.0_scrip_r8,
54  & three = 3.0_scrip_r8,
55  & four = 4.0_scrip_r8,
56  & five = 5.0_scrip_r8,
57  & half = 0.5_scrip_r8,
58  & quart = 0.25_scrip_r8,
59  & bignum = 1.e+20_scrip_r8,
60  & tiny = 1.e-14_scrip_r8,
61  & pi = 3.14159265359_scrip_r8,
62  & pi2 = two*pi,
63  & pih = half*pi
64 
65 !-----------------------------------------------------------------------
66 
67  end module scrip_constants
68 
69 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
scrip_constants::half
real(kind=scrip_r8), parameter half
Definition: scrip_constants.f:50
scrip_constants::three
real(kind=scrip_r8), parameter three
Definition: scrip_constants.f:50
scrip_constants::pi2
real(kind=scrip_r8), parameter pi2
Definition: scrip_constants.f:50
scrip_constants::bignum
real(kind=scrip_r8), parameter bignum
Definition: scrip_constants.f:50
scrip_constants::one
real(kind=scrip_r8), parameter one
Definition: scrip_constants.f:50
scrip_constants::tiny
real(kind=scrip_r8), parameter tiny
Definition: scrip_constants.f:50
scrip_constants::zero
real(kind=scrip_r8), parameter zero
Definition: scrip_constants.f:50
scrip_constants::four
real(kind=scrip_r8), parameter four
Definition: scrip_constants.f:50
scrip_kindsmod::scrip_r8
integer, parameter, public scrip_r8
Definition: scrip_kindsmod.f90:38
scrip_constants::quart
real(kind=scrip_r8), parameter quart
Definition: scrip_constants.f:50
scrip_constants::pih
real(kind=scrip_r8), parameter pih
Definition: scrip_constants.f:50
scrip_constants::two
real(kind=scrip_r8), parameter two
Definition: scrip_constants.f:50
scrip_constants
Definition: scrip_constants.f:38
scrip_kindsmod
Definition: scrip_kindsmod.f90:3
scrip_constants::five
real(kind=scrip_r8), parameter five
Definition: scrip_constants.f:50
scrip_constants::pi
real(kind=scrip_r8), parameter pi
Definition: scrip_constants.f:50