1 |
c $Header: /u/gcmpack/MITgcm/pkg/exf/exf_bulkcdn.F,v 1.5 2003/10/09 04:19:19 edhill Exp $ |
2 |
|
3 |
#include "EXF_OPTIONS.h" |
4 |
|
5 |
|
6 |
_RL function exf_BulkCdn( |
7 |
I umps |
8 |
& ) |
9 |
|
10 |
c ================================================================== |
11 |
c FUNCTION exf_BulkCdn |
12 |
c ================================================================== |
13 |
c |
14 |
c o Compute the neutral drag coefficient as a function of the wind |
15 |
c speed. |
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_BulkCdn |
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 |
#include "exf_param.h" |
42 |
|
43 |
c == function arguments == |
44 |
_RL umps |
45 |
|
46 |
c == end of interface == |
47 |
|
48 |
exf_BulkCdn = exf_scal_BulkCdn * |
49 |
& ( cdrag_1/umps + cdrag_2 + cdrag_3*umps ) |
50 |
|
51 |
#else |
52 |
|
53 |
c == function arguments == |
54 |
_RL umps |
55 |
|
56 |
exf_BulkCdn = 0.0 |
57 |
#endif |
58 |
|
59 |
end |