1 |
C $Header: /u/gcmpack/MITgcm/pkg/atm_compon_interf/CPL_PARAMS.h,v 1.7 2015/11/12 01:06:40 jmc Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#ifdef COMPONENT_MODULE |
5 |
C *==========================================================* |
6 |
C | CPL_PARAMS.h |
7 |
C | o Header file for Coupling component interface |
8 |
C *==========================================================* |
9 |
C | this version is specific to 1 component (atmos) |
10 |
C *==========================================================* |
11 |
|
12 |
C-- COMMON /CPL_ATM_SWITCH/: from coupler, control switch |
13 |
C of optionnally exchanged fields; |
14 |
C cpl_exchange_RunOff :: controls exchange of RunOff fields |
15 |
C cpl_exchange1W_sIce :: controls 1-way exchange of seaice (step fwd in ATM) |
16 |
C cpl_exchange2W_sIce :: controls 2-way exchange of ThSIce variables |
17 |
C cpl_exchange_SaltPl :: controls exchange of Salt-Plume fields |
18 |
C cpl_exchange_DIC :: controls exchange of DIC variables |
19 |
COMMON /CPL_ATM_SWITCH/ |
20 |
& cpl_exchange_RunOff, |
21 |
& cpl_exchange1W_sIce, cpl_exchange2W_sIce, |
22 |
& cpl_exchange_SaltPl, |
23 |
& cpl_exchange_DIC |
24 |
INTEGER cpl_exchange_RunOff |
25 |
INTEGER cpl_exchange1W_sIce |
26 |
INTEGER cpl_exchange2W_sIce |
27 |
INTEGER cpl_exchange_SaltPl |
28 |
INTEGER cpl_exchange_DIC |
29 |
|
30 |
C-- COMMON /CPL_ATM_PAR_L/: logical parameters |
31 |
C atm_cplSequential :: use Sequential Coupling (instead of Synchronous) |
32 |
C atm_cplExch_RunOff :: exchange RunOff fields with coupler |
33 |
C atm_cplExch1W_sIce :: 1-way exchange of seaice fields with coupler |
34 |
C atm_cplExch2W_sIce :: 2-way exchange of ThSIce fields with coupler |
35 |
C atm_cplExch_SaltPl :: exchange Salt-Plume fields with coupler |
36 |
C atm_cplExch_DIC :: exchange DIC fields with coupler |
37 |
C cpl_oldPickup :: restart from an old pickup (= until checkpoint 59h) |
38 |
C useImportMxlD :: True => use Imported Mix.Layer Detph from coupler |
39 |
C useImportSST :: True => use the Imported SST from coupler |
40 |
C useImportSSS :: True => use the Imported SSS from coupler |
41 |
C useImportVsq :: True => use the Imported Surf. velocity^2 |
42 |
C useImportThSIce :: True => use the Imported thSIce state var from coupler |
43 |
C useImportFlxCO2 :: True => use the Imported air-sea CO2 flux from coupler |
44 |
COMMON /CPL_ATM_PAR_L/ |
45 |
& atm_cplSequential, |
46 |
& atm_cplExch_RunOff, |
47 |
& atm_cplExch1W_sIce, atm_cplExch2W_sIce, atm_cplExch_SaltPl, |
48 |
& atm_cplExch_DIC, |
49 |
& cpl_oldPickup, |
50 |
& useImportMxlD, useImportSST, useImportSSS, |
51 |
& useImportVsq, useImportThSIce, useImportFlxCO2 |
52 |
|
53 |
LOGICAL atm_cplSequential |
54 |
LOGICAL atm_cplExch_RunOff |
55 |
LOGICAL atm_cplExch1W_sIce |
56 |
LOGICAL atm_cplExch2W_sIce |
57 |
LOGICAL atm_cplExch_SaltPl |
58 |
LOGICAL atm_cplExch_DIC |
59 |
LOGICAL cpl_oldPickup |
60 |
LOGICAL useImportMxlD, useImportSST, useImportSSS |
61 |
LOGICAL useImportVsq, useImportThSIce, useImportFlxCO2 |
62 |
|
63 |
C-- COMMON /CPL_ATM_PAR_I/: Integer valued parameters |
64 |
C cplSendFrq_iter :: send data to coupler every "cplSendFrq" iter |
65 |
C maxNumberPrint :: max number of printed Export/Import messages |
66 |
C countPrtExp :: counter for printed Export message |
67 |
C countPrtImp :: counter for printed Import message |
68 |
C cplErrorCount :: counter for errors in coupling config |
69 |
COMMON /CPL_ATM_PAR_I/ |
70 |
& cplSendFrq_iter, |
71 |
& maxNumberPrint, countPrtExp, countPrtImp, |
72 |
& cplErrorCount |
73 |
INTEGER cplSendFrq_iter |
74 |
INTEGER maxNumberPrint |
75 |
INTEGER countPrtExp |
76 |
INTEGER countPrtImp |
77 |
INTEGER cplErrorCount |
78 |
|
79 |
C-- COMMON /CPL_ATM_PAR_C/: Character valued parameters |
80 |
c CHARACTER*(MAX_LEN_FNAM) cpl_atmFile |
81 |
|
82 |
C-- COMMON /CPL_ATM_PAR_R/: real-type parameters |
83 |
C cpl_atmSendFrq :: Frequency^-1 for sending data to coupler (s) |
84 |
c COMMON /CPL_ATM_PAR_R/ |
85 |
c & cpl_atmSendFrq |
86 |
|
87 |
#endif /* COMPONENT_MODULE */ |