/[MITgcm]/MITgcm/pkg/aim_compon_interf/cpl_export_my_data.F
ViewVC logotype

Annotation of /MITgcm/pkg/aim_compon_interf/cpl_export_my_data.F

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


Revision 1.1 - (hide annotations) (download)
Mon Dec 15 02:44:48 2003 UTC (20 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint53b_pre, checkpoint52l_pre, checkpoint52e_pre, hrcube4, checkpoint52n_post, checkpoint52j_post, checkpoint52e_post, checkpoint52j_pre, checkpoint52l_post, checkpoint52k_post, 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 jmc 1.1 C $Header: $
2     C $Name: $
3    
4     #include "CPP_OPTIONS.h"
5    
6     CStartOfInterface
7     SUBROUTINE CPL_EXPORT_MY_DATA(
8     I myCurrentIter,
9     I myCurrentTime,
10     I myThid )
11     C /==========================================================\
12     C | SUBROUTINE CPL_EXPORT_MY_DATA |
13     C | o Routine for controlling export of coupling data to |
14     C | coupler layer. |
15     C |==========================================================|
16     C | This version talks to the MIT Coupler. It uses the MIT |
17     C | Coupler "checkpoint1" library calls. |
18     C \==========================================================/
19     IMPLICIT NONE
20    
21     #include "EEPARAMS.h"
22     #include "CPL_PARAMS.h"
23    
24     C == Routine arguments ==
25     C myCurrentIter - Current timestep number.
26     C myCurrentTime - Current internal time.
27     C myThid - Thread number for this instance
28     C of the routine.
29     INTEGER myCurrentIter
30     _RL myCurrentTime
31     INTEGER myThid
32     CEndOfInterface
33    
34     C == Local variables ==
35    
36     C Send data to coupling layer. Note MIT Coupler checkpoint1
37     C does not allow asynchronous posting of data, so ordering has to be
38     C consistent with coupling layer ordering.
39     IF ( (myCurrentIter/cplSendFrq_iter)*cplSendFrq_iter
40     & .EQ. myCurrentIter ) THEN
41     WRITE(0,*) ' Exporting atmospheric fluxes at iteration ',
42     & myCurrentIter
43     CALL ATM_EXPORT_TAUX( myThid )
44     CALL ATM_EXPORT_TAUY( myThid )
45     CALL ATM_EXPORT_HEATFLUX( myThid )
46     CALL ATM_EXPORT_EVMPR( myThid )
47     CALL ATM_EXPORT_RUNOFF( myThid )
48     CALL ATM_EXPORT_UVELGROUND( myThid )
49     CALL ATM_EXPORT_VVELGROUND( myThid )
50     CALL ATM_EXPORT_QLATENT( myThid )
51     CALL ATM_EXPORT_QSENSIBLE( myThid )
52     CALL ATM_EXPORT_QLONGWAVE( myThid )
53     CALL ATM_EXPORT_QSHORTWAVE( myThid )
54     ENDIF
55    
56     RETURN
57     END

  ViewVC Help
Powered by ViewVC 1.1.22