/[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.5 - (show annotations) (download)
Thu May 16 20:57:00 2013 UTC (11 years ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
rename pkg/aim_compon_interf to pkg/atm_compon_interf (to be used with other
 atmospheric physics pkg) but by-pass CVS to get the new pkg so that
 we keep the history.

1 C $Header: /u/gcmpack/MITgcm/pkg/aim_compon_interf/cpl_import_external_data.F,v 1.4 2009/12/25 19:42:46 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