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

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

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


Revision 1.2 - (hide annotations) (download)
Fri May 21 19:42:26 2004 UTC (19 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint57t_post, checkpoint57o_post, checkpoint58e_post, checkpoint57v_post, checkpoint53d_post, checkpoint58u_post, checkpoint54a_pre, checkpoint57f_post, checkpoint55c_post, checkpoint54e_post, checkpoint57s_post, checkpoint53c_post, checkpoint57k_post, checkpoint55d_pre, checkpoint57d_post, checkpoint57g_post, checkpoint60, checkpoint61, checkpoint62, checkpoint57b_post, checkpoint57c_pre, checkpoint58r_post, checkpoint55j_post, checkpoint56b_post, checkpoint57i_post, checkpoint57y_post, checkpoint58g_post, checkpoint57x_post, checkpoint54a_post, checkpoint57m_post, checkpoint55h_post, checkpoint58n_post, checkpoint58x_post, checkpoint57g_pre, checkpoint54b_post, checkpoint55b_post, checkpoint58t_post, checkpoint58h_post, checkpoint57e_post, checkpoint58w_post, checkpoint54d_post, checkpoint53f_post, checkpoint56c_post, checkpoint57y_pre, checkpoint55, checkpoint57f_pre, checkpoint57a_post, checkpoint54, checkpoint58q_post, checkpoint54f_post, checkpoint59q, checkpoint59p, checkpoint55g_post, checkpoint59r, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint55f_post, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint55i_post, checkpoint57, checkpoint56, eckpoint57e_pre, checkpoint57h_done, checkpoint58f_post, checkpoint53g_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58o_post, checkpoint57z_post, checkpoint57c_post, checkpoint58y_post, checkpoint55e_post, checkpoint58k_post, checkpoint58v_post, checkpoint55a_post, checkpoint53d_pre, checkpoint54c_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint57j_post, checkpoint61z, checkpoint61x, checkpoint61y, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post, checkpoint57h_post, checkpoint56a_post, checkpoint55d_post
Changes since 1.1: +14 -3 lines
new version of ocean-coupler interface for AIM+thSIce and ocean models

1 jmc 1.2 C $Header: /u/gcmpack/MITgcm/pkg/ocn_compon_interf/cpl_export_my_data.F,v 1.1 2003/12/15 02:49:09 jmc Exp $
2     C $Name: $
3 jmc 1.1
4     #include "CPP_OPTIONS.h"
5    
6     CStartOfInterface
7     SUBROUTINE CPL_EXPORT_MY_DATA(
8     I myCurrentIter, myCurrentTime, myThid )
9     C /==========================================================\
10     C | SUBROUTINE CPL_EXPORT_MY_DATA |
11     C | o Routine for controlling export of coupling data to |
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 jmc 1.2 C == GLobal variables ==
20     #include "EEPARAMS.h"
21    
22 jmc 1.1 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 jmc 1.2 INTEGER bi,bj
34    
35     DO bj = myByLo(myThid), myByHi(myThid)
36     DO bi = myBxLo(myThid), myBxHi(myThid)
37     CALL OCN_STORE_MY_DATA(
38     I myCurrentTime, myCurrentIter, bi,bj, myThid )
39     ENDDO
40     ENDDO
41 jmc 1.1
42     C Send data to coupling layer. Note MIT Coupler checkpoint1
43     C does not allow asynchronous posting of data, so ordering has to be
44     C consistent with coupling layer ordering.
45 jmc 1.2 CALL OCN_EXPORT_FIELDS ( myThid )
46 jmc 1.1
47     RETURN
48     END

  ViewVC Help
Powered by ViewVC 1.1.22