/[MITgcm]/MITgcm/pkg/exf/exf_bulkqsat.F
ViewVC logotype

Contents of /MITgcm/pkg/exf/exf_bulkqsat.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (show annotations) (download)
Wed Aug 1 23:03:26 2007 UTC (16 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove those function calls to help vectorize bulk formulae.

1 C $Header: /u/gcmpack/MITgcm/pkg/exf/exf_bulkqsat.F,v 1.6 2007/04/16 23:27:20 jmc Exp $
2 C $Name: $
3
4 #include "EXF_OPTIONS.h"
5
6
7 _RL function exf_BulkqSat(
8 I tkelvin
9 & )
10
11 c ==================================================================
12 c FUNCTION exf_BulkqSat
13 c ==================================================================
14 c
15 c o Compute the saturation specific humidity.
16 c
17 c started: Christian Eckert eckert@mit.edu 27-Aug-1999
18 c
19 c changed: Christian Eckert eckert@mit.edu 14-Jan-2000
20 c
21 c - Restructured the code in order to create a package
22 c for the MITgcmUV.
23 c
24 c Patrick Heimbach heimbach@mit.edu 05-May-2000
25 c
26 c - Included appropriate CPP options
27 c ALLOW_BULKFORMULAE, ALLOW_ATM_TEMP
28 c
29 c ==================================================================
30 c FUNCTION exf_BulkqSat
31 c ==================================================================
32
33 implicit none
34
35 #if (defined (ALLOW_BULKFORMULAE))
36
37 c == global variables ==
38
39 #include "SIZE.h"
40 #include "EXF_CONSTANTS.h"
41
42 c == function arguments ==
43 _RL tkelvin
44
45 c == end of interface ==
46
47 exf_BulkqSat = cvapor_fac/exp(cvapor_exp/tkelvin)
48
49 #else
50
51 c == function arguments ==
52 _RL tkelvin
53
54 exf_BulkqSat = 0.0
55 #endif
56
57 end
58
59
60

  ViewVC Help
Powered by ViewVC 1.1.22