1 |
jmc |
1.1 |
C $Header: $ |
2 |
|
|
C $Name: $ |
3 |
|
|
|
4 |
|
|
CBOP |
5 |
|
|
C !ROUTINE: RESTART.h |
6 |
|
|
C !INTERFACE: |
7 |
|
|
C include "RESTART.h" |
8 |
|
|
C |
9 |
|
|
C !DESCRIPTION: |
10 |
|
|
C \bv |
11 |
|
|
C *==========================================================* |
12 |
|
|
C | RESTART.h |
13 |
|
|
C | o Holds internal parameters related to restart process |
14 |
|
|
C *==========================================================* |
15 |
|
|
C | Model internal parameters/variables related to writing |
16 |
|
|
C | or reading pickup for a restart. |
17 |
|
|
C | Note: external parameters (read from parameter file "data") |
18 |
|
|
C | stay in PARAMS.h and should not appear in RESTART.h ; |
19 |
|
|
C | therefore, this header file should not be included |
20 |
|
|
C | in S/R INI_PARMS. |
21 |
|
|
C *==========================================================* |
22 |
|
|
C \ev |
23 |
|
|
CEOP |
24 |
|
|
|
25 |
|
|
C Alternating pickup |
26 |
|
|
INTEGER maxNoChkptLev |
27 |
|
|
PARAMETER ( maxNoChkptLev = 2 ) |
28 |
|
|
|
29 |
|
|
C-- COMMON / RESTART_I / Integer valued parameters used for restart |
30 |
|
|
C nCheckLev :: Holds current checkpoint level (alternating pickup) |
31 |
|
|
C tempStartAB :: number of previous time level gT/Temp that are |
32 |
|
|
C available to start (or restart) Adams-Bashforth |
33 |
|
|
C saltStartAB :: number of previous time level gS/Salt that are |
34 |
|
|
C available to start (or restart) Adams-Bashforth |
35 |
|
|
C mom_StartAB :: number of previous time level gU,gV that are |
36 |
|
|
C available to start (or restart) Adams-Bashforth |
37 |
|
|
C nHydStartAB :: number of previous time level gW that are |
38 |
|
|
C available to start (or restart) Adams-Bashforth |
39 |
|
|
COMMON / RESTART_I / |
40 |
|
|
& nCheckLev, |
41 |
|
|
& tempStartAB, saltStartAB, |
42 |
|
|
& mom_StartAB, nHydStartAB |
43 |
|
|
INTEGER nCheckLev |
44 |
|
|
INTEGER tempStartAB |
45 |
|
|
INTEGER saltStartAB |
46 |
|
|
INTEGER mom_StartAB |
47 |
|
|
INTEGER nHydStartAB |
48 |
|
|
|
49 |
|
|
C-- COMMON / RESTART_C / Character valued parameters used for restart |
50 |
|
|
C checkPtSuff :: List of checkpoint file suffices |
51 |
|
|
COMMON / RESTART_C / |
52 |
|
|
& checkPtSuff |
53 |
|
|
CHARACTER*(5) checkPtSuff(maxNoChkptLev) |