/[MITgcm]/MITgcm/pkg/atm_compon_interf/cpl_import_external_data.F
ViewVC logotype

Contents of /MITgcm/pkg/atm_compon_interf/cpl_import_external_data.F

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


Revision 1.1 - (show annotations) (download)
Mon Dec 15 02:44:48 2003 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint52l_pre, checkpoint52e_pre, hrcube4, checkpoint52n_post, checkpoint52j_post, checkpoint52e_post, checkpoint52j_pre, checkpoint52l_post, checkpoint52k_post, checkpoint53b_pre, checkpoint52m_post, checkpoint53a_post, checkpoint53b_post, checkpoint53, checkpoint52d_post, checkpoint52f_post, hrcube5, checkpoint52i_post, checkpoint52i_pre, checkpoint52h_pre, checkpoint52f_pre, hrcube_2, hrcube_3
AIM atmosphere interface S/R for exchanges with the coupler.

1 C $Header: $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CStartOfInterface
7 SUBROUTINE CPL_IMPORT_EXTERNAL_DATA(
8 I myCurrentIter, myCurrentTime, myThid )
9 C /==========================================================\
10 C | SUBROUTINE CPL_IMPORT_EXTERNAL_DATA |
11 C | o Routine for controlling import of coupling data from |
12 C | coupler layer. |
13 C |==========================================================|
14 C | This version talks to the MIT Coupler. It uses the MIT |
15 C | Coupler "checkpoint1" library calls. |
16 C \==========================================================/
17 IMPLICIT NONE
18
19 #include "EEPARAMS.h"
20 #include "CPL_PARAMS.h"
21
22 C == Routine arguments ==
23 C myCurrentIter - Current timestep number.
24 C myCurrentTime - Current internal time.
25 C myThid - Thread number for this instance
26 C of the routine.
27 INTEGER myCurrentIter
28 _RL myCurrentTime
29 INTEGER myThid
30 CEndOfInterface
31
32 C == Local variables ==
33
34 C Fetch data from coupling layer. Note MIT Coupler checkpoint1
35 C does not allow asynchronous extraction of data, so ordering
36 C has to be consistent with ordering coupling layer.
37 c IF ( (myCurrentIter/96)*96 .EQ. myCurrentIter ) THEN
38 IF ( (myCurrentIter/cplSendFrq_iter)*cplSendFrq_iter
39 & .EQ. myCurrentIter ) THEN
40 WRITE(0,*) ' Importing fluxes at iteration ', myCurrentIter
41 CALL ATM_IMPORT_SST ( myThid )
42 ENDIF
43
44 RETURN
45 END

  ViewVC Help
Powered by ViewVC 1.1.22