/[MITgcm]/MITgcm/pkg/atm_compon_interf/CPL_PARAMS.h
ViewVC logotype

Annotation of /MITgcm/pkg/atm_compon_interf/CPL_PARAMS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (hide annotations) (download)
Wed Jan 6 00:45:23 2016 UTC (8 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65s, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, HEAD
Changes since 1.7: +23 -4 lines
File MIME type: text/plain
- hold in common block coupler optionally-exchanged variable switch
  and set default "useImportXXX" accordingly; + check & stop if inconsistent.
- add new param: useImportThSIce for 2-way thSIce vars exchange

1 jmc 1.8 C $Header: /u/gcmpack/MITgcm/pkg/atm_compon_interf/CPL_PARAMS.h,v 1.7 2015/11/12 01:06:40 jmc Exp $
2 jmc 1.1 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 jmc 1.8 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 jmc 1.1 C-- COMMON /CPL_ATM_PAR_L/: logical parameters
31 jmc 1.7 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 jmc 1.4 C cpl_oldPickup :: restart from an old pickup (= until checkpoint 59h)
38 jmc 1.2 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 jmc 1.8 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 jmc 1.2 COMMON /CPL_ATM_PAR_L/
45 jmc 1.7 & atm_cplSequential,
46     & atm_cplExch_RunOff,
47     & atm_cplExch1W_sIce, atm_cplExch2W_sIce, atm_cplExch_SaltPl,
48     & atm_cplExch_DIC,
49 jmc 1.5 & cpl_oldPickup,
50 jmc 1.3 & useImportMxlD, useImportSST, useImportSSS,
51 jmc 1.8 & useImportVsq, useImportThSIce, useImportFlxCO2
52 jmc 1.2
53 jmc 1.7 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 jmc 1.2 LOGICAL cpl_oldPickup
60 jmc 1.3 LOGICAL useImportMxlD, useImportSST, useImportSSS
61 jmc 1.8 LOGICAL useImportVsq, useImportThSIce, useImportFlxCO2
62 jmc 1.1
63     C-- COMMON /CPL_ATM_PAR_I/: Integer valued parameters
64     C cplSendFrq_iter :: send data to coupler every "cplSendFrq" iter
65 jmc 1.6 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 jmc 1.7 C cplErrorCount :: counter for errors in coupling config
69 jmc 1.1 COMMON /CPL_ATM_PAR_I/
70 jmc 1.6 & cplSendFrq_iter,
71 jmc 1.7 & maxNumberPrint, countPrtExp, countPrtImp,
72     & cplErrorCount
73 jmc 1.1 INTEGER cplSendFrq_iter
74 jmc 1.6 INTEGER maxNumberPrint
75     INTEGER countPrtExp
76     INTEGER countPrtImp
77 jmc 1.7 INTEGER cplErrorCount
78 jmc 1.1
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 jmc 1.3 c COMMON /CPL_ATM_PAR_R/
85 jmc 1.1 c & cpl_atmSendFrq
86    
87 jmc 1.3 #endif /* COMPONENT_MODULE */

  ViewVC Help
Powered by ViewVC 1.1.22