1 |
C $Header: /u/gcmpack/development/heimbach/ecco_env/pkg/cal/cal_nstepday.F,v 1.4 2001/02/02 16:57:22 heimbach Exp $ |
2 |
|
3 |
#include "CAL_CPPOPTIONS.h" |
4 |
|
5 |
integer function cal_nStepDay( |
6 |
I mythid |
7 |
& ) |
8 |
|
9 |
c ================================================================== |
10 |
c FUNCTION cal_nStepDay |
11 |
c ================================================================== |
12 |
c |
13 |
c o Return the number of time steps that can be performed during one |
14 |
c calendar day. |
15 |
c |
16 |
c started: Christian Eckert eckert@mit.edu 30-Jun-1999 |
17 |
c |
18 |
c changed: Christian Eckert eckert@mit.edu 29-Dec-1999 |
19 |
c |
20 |
c - restructured the original version in order to have a |
21 |
c better interface to the MITgcmUV. |
22 |
c |
23 |
c Christian Eckert eckert@mit.edu 03-Feb-2000 |
24 |
c |
25 |
c - Introduced new routine and function names, cal_<NAME>, |
26 |
c for verion 0.1.3. |
27 |
c |
28 |
c ================================================================== |
29 |
c FUNCTION cal_nStepDay |
30 |
c ================================================================== |
31 |
|
32 |
implicit none |
33 |
|
34 |
c == global variables == |
35 |
|
36 |
#include "cal.h" |
37 |
|
38 |
c == routine arguments == |
39 |
|
40 |
integer mythid |
41 |
|
42 |
c == local variables == |
43 |
|
44 |
c == end of interface == |
45 |
|
46 |
c See the remarks on assumptions in the documentation for this piece |
47 |
c of code. |
48 |
cal_nStepDay = secondsperday/nint(modelstep) |
49 |
|
50 |
return |
51 |
end |