/[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.3 - (hide annotations) (download)
Fri Dec 25 19:43:07 2009 UTC (14 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint63, checkpoint65p, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.2: +36 -25 lines
change arg. list order;

1 jmc 1.3 C $Header: /u/gcmpack/MITgcm/pkg/ocn_compon_interf/cpl_export_my_data.F,v 1.2 2004/05/21 19:42:26 jmc Exp $
2     C $Name: $
3 jmc 1.1
4     #include "CPP_OPTIONS.h"
5    
6 jmc 1.3 CBOP
7     C !ROUTINE: CPL_EXPORT_MY_DATA
8    
9     C !INTERFACE:
10     SUBROUTINE CPL_EXPORT_MY_DATA(
11     I myTime, myIter, myThid )
12    
13     C !DESCRIPTION: \bv
14     C *==========================================================*
15     C | SUBROUTINE CPL_EXPORT_MY_DATA
16     C | o Routine for controlling export of coupling data to
17     C | coupler layer.
18     C *==========================================================*
19     C | This version talks to the MIT Coupler. It uses the MIT
20     C | Coupler "checkpoint1" library calls.
21     C *==========================================================*
22     C \ev
23    
24     C !USES
25 jmc 1.1 IMPLICIT NONE
26 jmc 1.2 C == GLobal variables ==
27     #include "EEPARAMS.h"
28    
29 jmc 1.3 C !INPUT/OUTPUT PARAMETERS:
30 jmc 1.1 C == Routine arguments ==
31 jmc 1.3 C myTime :: Current time in simulation.
32     C myIter :: Current timestep number.
33     C myThid :: Thread number for this instance of the routine.
34     _RL myTime
35     INTEGER myIter
36 jmc 1.1 INTEGER myThid
37 jmc 1.3 CEOP
38 jmc 1.1
39 jmc 1.3 #ifdef COMPONENT_MODULE
40     C !LOCAL VARIABLES:
41 jmc 1.1 C == Local variables ==
42 jmc 1.2 INTEGER bi,bj
43    
44     DO bj = myByLo(myThid), myByHi(myThid)
45     DO bi = myBxLo(myThid), myBxHi(myThid)
46 jmc 1.3 CALL OCN_STORE_MY_DATA(
47     I myTime, myIter, bi,bj, myThid )
48 jmc 1.2 ENDDO
49     ENDDO
50 jmc 1.1
51     C Send data to coupling layer. Note MIT Coupler checkpoint1
52 jmc 1.3 C does not allow asynchronous posting of data, so ordering
53     C has to be consistent with coupling layer ordering.
54 jmc 1.2 CALL OCN_EXPORT_FIELDS ( myThid )
55 jmc 1.1
56 jmc 1.3 #endif /* COMPONENT_MODULE */
57    
58 jmc 1.1 RETURN
59     END

  ViewVC Help
Powered by ViewVC 1.1.22