1 |
jmc |
1.2 |
C $Header: /u/gcmpack/MITgcm/model/inc/RESTART.h,v 1.1 2007/10/19 14:34:13 jmc Exp $ |
2 |
jmc |
1.1 |
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 |
jmc |
1.2 |
C tempStartAB :: number of previous gT/Temp time levels which are |
32 |
|
|
C available to start (or restart) Adams-Bashforth. |
33 |
|
|
C saltStartAB :: number of previous gS/Salt time levels which are |
34 |
|
|
C available to start (or restart) Adams-Bashforth. |
35 |
|
|
C mom_StartAB :: number of previous gU,gV time levels which are |
36 |
|
|
C available to start (or restart) Adams-Bashforth. |
37 |
|
|
C nHydStartAB :: number of previous gW time levels which are |
38 |
|
|
C available to start (or restart) Adams-Bashforth. |
39 |
|
|
C dPhiNHstatus :: status of field dPhiNH: 1= loaded from pickup |
40 |
|
|
C 0= not available in pickup |
41 |
jmc |
1.1 |
COMMON / RESTART_I / |
42 |
|
|
& nCheckLev, |
43 |
|
|
& tempStartAB, saltStartAB, |
44 |
jmc |
1.2 |
& mom_StartAB, nHydStartAB, |
45 |
|
|
& dPhiNHstatus |
46 |
jmc |
1.1 |
INTEGER nCheckLev |
47 |
|
|
INTEGER tempStartAB |
48 |
|
|
INTEGER saltStartAB |
49 |
|
|
INTEGER mom_StartAB |
50 |
|
|
INTEGER nHydStartAB |
51 |
jmc |
1.2 |
INTEGER dPhiNHstatus |
52 |
jmc |
1.1 |
|
53 |
|
|
C-- COMMON / RESTART_C / Character valued parameters used for restart |
54 |
|
|
C checkPtSuff :: List of checkpoint file suffices |
55 |
|
|
COMMON / RESTART_C / |
56 |
|
|
& checkPtSuff |
57 |
|
|
CHARACTER*(5) checkPtSuff(maxNoChkptLev) |