1 |
C $Header: /u/gcmpack/MITgcm/pkg/aim_compon_interf/atm_store_my_data.F,v 1.1 2003/12/15 02:44:48 jmc Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "CPP_OPTIONS.h" |
5 |
|
6 |
CStartOfInterface |
7 |
SUBROUTINE ATM_STORE_MY_DATA( bi,bj, |
8 |
I myIter, |
9 |
I myTime, |
10 |
I myThid ) |
11 |
C /==========================================================\ |
12 |
C | SUBROUTINE ATM_STORE_MY_DATA | |
13 |
C | o Routine for controlling storage of coupling data to | |
14 |
C | coupler layer. | |
15 |
C |==========================================================| |
16 |
C | This version interfaces to the MITgcm AIMPHYS package. | |
17 |
C \==========================================================/ |
18 |
IMPLICIT NONE |
19 |
|
20 |
C == Global variables == |
21 |
#include "SIZE.h" |
22 |
#include "EEPARAMS.h" |
23 |
#include "PARAMS.h" |
24 |
|
25 |
C == Routine arguments == |
26 |
C bi,bj - Current tile indices |
27 |
C myIter - Current timestep number. |
28 |
C myTime - Current internal time. |
29 |
C myThid - Thread number for this instance |
30 |
C of the routine. |
31 |
INTEGER bi,bj |
32 |
INTEGER myIter |
33 |
_RL myTime |
34 |
INTEGER myThid |
35 |
CEndOfInterface |
36 |
|
37 |
#ifdef COMPONENT_MODULE |
38 |
C == Local variables == |
39 |
|
40 |
C Store coupling data ready for export |
41 |
CALL ATM_STORE_ATMSLP( bi,bj, myTime, myIter, myThid ) |
42 |
CALL ATM_STORE_HEATFLUX( bi,bj, myTime, myIter, myThid ) |
43 |
CALL ATM_STORE_QSHORTWAVE( bi,bj, myTime, myIter, myThid ) |
44 |
c CALL ATM_STORE_QSENSIBLE( bi,bj, myTime, myIter, myThid ) |
45 |
c CALL ATM_STORE_QLATENT( bi,bj, myTime, myIter, myThid ) |
46 |
c CALL ATM_STORE_QLONGWAVE( bi,bj, myTime, myIter, myThid ) |
47 |
c CALL ATM_STORE_UVELGROUND( bi,bj, myTime, myIter, myThid ) |
48 |
c CALL ATM_STORE_VVELGROUND( bi,bj, myTime, myIter, myThid ) |
49 |
c CALL ATM_STORE_TAUX( bi,bj, myTime, myIter, myThid ) |
50 |
c CALL ATM_STORE_TAUY( bi,bj, myTime, myIter, myThid ) |
51 |
CALL ATM_STORE_EVMPR( bi,bj, myTime, myIter, myThid ) |
52 |
IF ( useLand ) THEN |
53 |
CALL ATM_STORE_RUNOFF( bi,bj, myTime, myIter, myThid ) |
54 |
CALL ATM_STORE_ROENFX( bi,bj, myTime, myIter, myThid ) |
55 |
ENDIF |
56 |
IF ( useThSIce ) THEN |
57 |
CALL ATM_STORE_SALTFX( bi,bj, myTime, myIter, myThid ) |
58 |
CALL ATM_STORE_SEAICE( bi,bj, myTime, myIter, myThid ) |
59 |
ENDIF |
60 |
|
61 |
#endif /* COMPONENT_MODULE */ |
62 |
|
63 |
RETURN |
64 |
END |