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

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

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


Revision 1.4 - (show annotations) (download)
Fri Dec 25 19:42:46 2009 UTC (14 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: 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, checkpoint63, 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.3: +11 -7 lines
change arg. list order ; only master-thread prints msg

1 C $Header: /u/gcmpack/MITgcm/pkg/aim_compon_interf/cpl_import_external_data.F,v 1.3 2007/06/18 21:28:53 jmc Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: CPL_IMPORT_EXTERNAL_DATA
8 C !INTERFACE:
9 SUBROUTINE CPL_IMPORT_EXTERNAL_DATA(
10 I myTime, myIter, myThid )
11
12 C !DESCRIPTION: \bv
13 C *==========================================================*
14 C | SUBROUTINE CPL_IMPORT_EXTERNAL_DATA
15 C | o Routine for controlling import of coupling data from
16 C | coupler layer.
17 C *==========================================================*
18 C | This version talks to the MIT Coupler. It uses the MIT
19 C | Coupler "checkpoint1" library calls.
20 C *==========================================================*
21 C \ev
22
23 C !USES
24 IMPLICIT NONE
25
26 #include "EEPARAMS.h"
27 #include "CPL_PARAMS.h"
28
29 C !INPUT/OUTPUT PARAMETERS:
30 C == Routine arguments ==
31 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 INTEGER myThid
37 CEOP
38
39 #ifdef COMPONENT_MODULE
40 C !LOCAL VARIABLES:
41 C == Local variables ==
42
43 C Fetch data from coupling layer. Note MIT Coupler checkpoint1
44 C does not allow asynchronous extraction of data, so ordering
45 C has to be consistent with ordering coupling layer.
46
47 IF ( MOD(myIter,cplSendFrq_iter).EQ.0 ) THEN
48 _BEGIN_MASTER( myThid )
49 WRITE(0,'(A,I5,A,I10)') ' Importing (pid=', myProcId,
50 & ' ) oceanic fields at iteration', myIter
51 _END_MASTER( myThid )
52 CALL ATM_IMPORT_FIELDS( myThid )
53 ENDIF
54
55 #endif /* COMPONENT_MODULE */
56
57 RETURN
58 END

  ViewVC Help
Powered by ViewVC 1.1.22