[MITgcm-cvs] MITgcm/pkg/atm_ocn_coupler CVS Commit
Jean-Michel Campin
jmc at forge.csail.mit.edu
Wed Nov 11 19:49:04 EST 2015
Update of /u/gcmpack/MITgcm/pkg/atm_ocn_coupler
In directory forge:/tmp/cvs-serv1219
Modified Files:
CPL_PARAMS.h coupler.F cpl_check_cplconfig.F cpl_read_params.F
Added Files:
cpl_send_atm_cplparms.F cpl_send_ocn_cplparms.F
Log Message:
Start a new way to set-up optionally-exchanged variables (previously, only
there for exchange_DIC): switch on/off from 1 place, at run-time, in coupler
data.cpl (new) instead of at compile time in ATMIDS.h & OCNIDS.h :
- change parameter file from "data" to "data.cpl" (in cpl_read_params.F),
and read namelist directly (without eessup S/R calls) instead of
in the very un-flexible old way, 1 param per line, in fixed order;
- add error-counter to track errors (e.g., missing "data.cpl") and to stop
cleanly in CPL_CHECK_CPLCONFIG
- add new coupling-exchange selectors (some not yet active) including
cpl_exchange_DIC (to set to 3 to replace atmCpl_exchange_DIC=T in ATMIDS.h
and ocnCpl_exchange_DIC=T in OCNIDS.h);
- add 2 new S/R (CPL_SEND_ATM/OCN_CPLPARMS) to send coupler-params to each
component ; called directly from coupler.F, after comp. registrations;
More information about the MITgcm-cvs
mailing list