1 |
c $Header: /u/gcmpack/development/heimbach/ecco_env/pkg/exf/exf_bulkcdn.F,v 1.4 2001/02/02 19:43:45 heimbach Exp $ |
2 |
|
3 |
#include "EXF_CPPOPTIONS.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) && defined (ALLOW_ATM_TEMP)) |
36 |
|
37 |
c == global variables == |
38 |
|
39 |
#include "SIZE.h" |
40 |
#include "exf_constants.h" |
41 |
|
42 |
c == function arguments == |
43 |
_RL umps |
44 |
|
45 |
c == end of interface == |
46 |
|
47 |
exf_BulkCdn = cdrag_1/umps + cdrag_2 + cdrag_3*umps |
48 |
|
49 |
#else |
50 |
|
51 |
c == function arguments == |
52 |
_RL umps |
53 |
|
54 |
exf_BulkCdn = 0.0 |
55 |
#endif |
56 |
|
57 |
end |