c $Header: /home/ubuntu/mnt/e9_copy/MITgcm/pkg/exf/exf_getclim.F,v 1.5 2006/01/02 21:17:02 heimbach Exp $ #include "EXF_OPTIONS.h" subroutine exf_getclim( I mytime, I myiter, I mythid & ) c ================================================================== c SUBROUTINE exf_getclim c ================================================================== c c o Get the climatogy fields for the current time step. The switches c for the inclusion of the individual forcing components have to c be set in EXF_OPTIONS.h . c c A note on surface fluxes: c c The MITgcmUV's vertical coordinate z is positive upward. c This implies that a positive flux is out of the ocean c model. However, the wind stress forcing is not treated c this way. A positive zonal wind stress accelerates the c model ocean towards the east. c c started: Ralf.Giering@FastOpt.de 25-Mai-2000 c c ================================================================== c SUBROUTINE exf_getclim c ================================================================== implicit none c == global variables == #include "EEPARAMS.h" #include "SIZE.h" #include "exf_fields.h" #include "exf_clim_fields.h" c == routine arguments == c mythid - thread number for this instance of the routine. integer mythid integer myiter _RL mytime c == local variables == c == end of interface == #ifdef ALLOW_CLIMSST_RELAXATION c Get values of climatological sst fields. call exf_set_climsst ( mytime, myiter, mythid ) c-- Update the tile edges. _EXCH_XY_R8(climsst, mythid) #endif #ifdef ALLOW_CLIMSSS_RELAXATION c Get values of climatological sst fields. call exf_set_climsss ( mytime, myiter, mythid ) c-- Update the tile edges. _EXCH_XY_R8(climsss, mythid) #endif cph FOLLOWING CODE OBSOLETE cph 3-dim. relaxation code moved to pkg/rbcs cph #ifdef ALLOW_CLIMTEMP_RELAXATION c Get values of climatological temperature fields. cph call exf_set_climtemp ( mytime, myiter, mythid ) c-- Update the tile edges. cph _EXCH_XYZ_R8(climtemp, mythid) #endif #ifdef ALLOW_CLIMSALT_RELAXATION c Get values of climatological salinity fields. cph call exf_set_climsalt ( mytime, myiter, mythid ) c-- Update the tile edges. cph _EXCH_XYZ_R8(climsalt, mythid) #endif end