c $Header: /u/gcmpack/MITgcm/pkg/exf/exf_getclim.F,v 1.3 2003/10/09 04:19:19 edhill 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_CLIMTEMP_RELAXATION
c Get values of climatological temperature fields.
call EXF_SET_CLIMTEMP ( mytime, myiter, mythid )
c-- Update the tile edges.
_EXCH_XY_R8(climtemp, mythid)
#endif
#ifdef ALLOW_CLIMSALT_RELAXATION
c Get values of climatological salinity fields.
call EXF_SET_CLIMSALT ( mytime, myiter, mythid )
c-- Update the tile edges.
_EXCH_XY_R8(climsalt, mythid)
#endif
#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
end