| 1 |
C $Header: /u/gcmpack/MITgcm/pkg/ocn_compon_interf/CPL_PARAMS.h,v 1.7 2015/11/12 00:55:18 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 (ocean) |
| 10 |
C *==========================================================* |
| 11 |
|
| 12 |
C-- COMMON /CPL_OCN_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_OCN_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_OCN_PAR_L/: logical parameters |
| 31 |
C ocn_cplSequential :: use Sequential Coupling (instead of Synchronous) |
| 32 |
C ocn_cplExch_RunOff :: exchange RunOff fields with coupler |
| 33 |
C ocn_cplExch1W_sIce :: 1-way exchange of seaice fields with coupler |
| 34 |
C ocn_cplExch2W_sIce :: 2-way exchange of ThSIce fields with coupler |
| 35 |
C ocn_cplExch_SaltPl :: exchange Salt-Plume fields with coupler |
| 36 |
C ocn_cplExch_DIC :: exchange DIC fields with coupler |
| 37 |
C useImportHFlx :: True => use the Imported HeatFlux from couler |
| 38 |
C useImportFW :: True => use the Imported Fresh Water flux fr cpl |
| 39 |
C useImportTau :: True => use the Imported Wind-Stress from couler |
| 40 |
C useImportSLP :: True => use the Imported Sea-level Pressure |
| 41 |
C useImportRunOff :: True => use the Imported RunOff flux from coupler |
| 42 |
C useImportSIce :: True => use the Imported Sea-Ice mass as ice-loading |
| 43 |
C useImportThSIce :: True => use the Imported thSIce state var from coupler |
| 44 |
C useImportSltPlm :: True => use the Imported Salt-Plume flux from coupler |
| 45 |
C useImportFice :: True => use the Imported Seaice fraction (DIC-only) |
| 46 |
C useImportCO2 :: True => use the Imported atmos. CO2 from coupler |
| 47 |
C useImportWSpd :: True => use the Imported surf. Wind speed from coupler |
| 48 |
|
| 49 |
COMMON /CPL_OCN_PAR_L/ |
| 50 |
& ocn_cplSequential, |
| 51 |
& ocn_cplExch_RunOff, |
| 52 |
& ocn_cplExch1W_sIce, ocn_cplExch2W_sIce, ocn_cplExch_SaltPl, |
| 53 |
& ocn_cplExch_DIC, |
| 54 |
& useImportHFlx, useImportFW, useImportTau, |
| 55 |
& useImportSLP, useImportRunOff, |
| 56 |
& useImportSIce, useImportThSIce, useImportSltPlm, |
| 57 |
& useImportFice, useImportCO2, useImportWSpd, |
| 58 |
& cpl_snapshot_mdsio, cpl_snapshot_mnc, |
| 59 |
& cpl_timeave_mdsio, cpl_timeave_mnc |
| 60 |
|
| 61 |
LOGICAL ocn_cplSequential |
| 62 |
LOGICAL ocn_cplExch_RunOff |
| 63 |
LOGICAL ocn_cplExch1W_sIce |
| 64 |
LOGICAL ocn_cplExch2W_sIce |
| 65 |
LOGICAL ocn_cplExch_SaltPl |
| 66 |
LOGICAL ocn_cplExch_DIC |
| 67 |
LOGICAL useImportHFlx |
| 68 |
LOGICAL useImportFW |
| 69 |
LOGICAL useImportTau |
| 70 |
LOGICAL useImportSLP |
| 71 |
LOGICAL useImportRunOff |
| 72 |
LOGICAL useImportSIce |
| 73 |
LOGICAL useImportThSIce |
| 74 |
LOGICAL useImportSltPlm |
| 75 |
LOGICAL useImportFice |
| 76 |
LOGICAL useImportCO2 |
| 77 |
LOGICAL useImportWSpd |
| 78 |
LOGICAL |
| 79 |
& cpl_snapshot_mdsio, cpl_snapshot_mnc, |
| 80 |
& cpl_timeave_mdsio, cpl_timeave_mnc |
| 81 |
|
| 82 |
C-- COMMON /CPL_OCN_PAR_I/: Integer valued parameters |
| 83 |
C maxNumberPrint :: max number of printed Export/Import messages |
| 84 |
C countPrtExp :: counter for printed Export message |
| 85 |
C countPrtImp :: counter for printed Import message |
| 86 |
C cplErrorCount :: counter for errors in coupling config |
| 87 |
COMMON /CPL_OCN_PAR_I/ |
| 88 |
& cplErrorCount |
| 89 |
INTEGER cplErrorCount |
| 90 |
|
| 91 |
C-- COMMON /CPL_OCN_PAR_C/: Character valued parameters |
| 92 |
c CHARACTER*(MAX_LEN_FNAM) cpl_ocnFile |
| 93 |
|
| 94 |
C-- COMMON /CPL_OCN_PAR_R/: real-type parameters |
| 95 |
C cpl_taveFreq :: Frequency^-1 for time-Aver. output (s) |
| 96 |
COMMON /CPL_OCN_PAR_R/ |
| 97 |
& cpl_taveFreq |
| 98 |
_RL cpl_taveFreq |
| 99 |
|
| 100 |
#endif /* COMPONENT_MODULE */ |
| 101 |
|
| 102 |
CEH3 ;;; Local Variables: *** |
| 103 |
CEH3 ;;; mode:fortran *** |
| 104 |
CEH3 ;;; End: *** |