7 |
C !ROUTINE: CPL_IMPORT_EXTERNAL_DATA |
C !ROUTINE: CPL_IMPORT_EXTERNAL_DATA |
8 |
C !INTERFACE: |
C !INTERFACE: |
9 |
SUBROUTINE CPL_IMPORT_EXTERNAL_DATA( |
SUBROUTINE CPL_IMPORT_EXTERNAL_DATA( |
10 |
I myIter, myTime, myThid ) |
I myTime, myIter, myThid ) |
11 |
|
|
12 |
C !DESCRIPTION: \bv |
C !DESCRIPTION: \bv |
13 |
C *==========================================================* |
C *==========================================================* |
28 |
|
|
29 |
C !INPUT/OUTPUT PARAMETERS: |
C !INPUT/OUTPUT PARAMETERS: |
30 |
C == Routine arguments == |
C == Routine arguments == |
31 |
C myIter - Current timestep number. |
C myTime :: Current time in simulation. |
32 |
C myTime - Current internal time. |
C myIter :: Current timestep number. |
33 |
C myThid - Thread number for this instance of the routine. |
C myThid :: Thread number for this instance of the routine. |
|
INTEGER myIter |
|
34 |
_RL myTime |
_RL myTime |
35 |
|
INTEGER myIter |
36 |
INTEGER myThid |
INTEGER myThid |
37 |
CEOP |
CEOP |
38 |
|
|
39 |
#ifdef COMPONENT_MODULE |
#ifdef COMPONENT_MODULE |
40 |
|
C !LOCAL VARIABLES: |
41 |
C == Local variables == |
C == Local variables == |
42 |
|
|
43 |
C Fetch data from coupling layer. Note MIT Coupler checkpoint1 |
C Fetch data from coupling layer. Note MIT Coupler checkpoint1 |
45 |
C has to be consistent with ordering coupling layer. |
C has to be consistent with ordering coupling layer. |
46 |
|
|
47 |
IF ( MOD(myIter,cplSendFrq_iter).EQ.0 ) THEN |
IF ( MOD(myIter,cplSendFrq_iter).EQ.0 ) THEN |
48 |
WRITE(0,*) ' Importing oceanic fields at iteration ', myIter |
_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 ) |
CALL ATM_IMPORT_FIELDS( myThid ) |
53 |
ENDIF |
ENDIF |
54 |
|
|