1 |
jmc |
1.2 |
C $Header: /u/gcmpack/MITgcm/pkg/ocn_compon_interf/cpl_init.F,v 1.1 2003/12/15 02:49:09 jmc Exp $ |
2 |
|
|
C $Name: $ |
3 |
jmc |
1.1 |
|
4 |
|
|
#include "CPP_OPTIONS.h" |
5 |
|
|
|
6 |
jmc |
1.2 |
CBOP 0 |
7 |
|
|
C !ROUTINE: CPL_INIT |
8 |
|
|
|
9 |
|
|
C !INTERFACE: |
10 |
|
|
SUBROUTINE CPL_INIT |
11 |
|
|
|
12 |
|
|
C !DESCRIPTION: |
13 |
jmc |
1.1 |
C *==========================================================* |
14 |
jmc |
1.2 |
C | SUBROUTINE CPL_INIT |
15 |
|
|
C | o Routine controlling coupler layer initialisation. |
16 |
|
|
C | - Atmospheric version - |
17 |
jmc |
1.1 |
C *==========================================================* |
18 |
jmc |
1.2 |
C | This version talks to the MIT Coupler. It uses the MIT |
19 |
|
|
C | Coupler "checkpoint1" library calls. |
20 |
jmc |
1.1 |
C *==========================================================* |
21 |
jmc |
1.2 |
|
22 |
|
|
C !USES: |
23 |
jmc |
1.1 |
IMPLICIT NONE |
24 |
|
|
C == Global variables == |
25 |
|
|
#include "SIZE.h" |
26 |
|
|
#include "EEPARAMS.h" |
27 |
|
|
#include "EESUPPORT.h" |
28 |
|
|
#include "ATMIDS.h" |
29 |
|
|
|
30 |
jmc |
1.2 |
C !INPUT/OUTPUT PARAMETERS: |
31 |
jmc |
1.1 |
C == Routine arguments == |
32 |
jmc |
1.2 |
C myThid :: Thread number for this instance of the routine |
33 |
|
|
c INTEGER myThid |
34 |
|
|
CEOP |
35 |
|
|
|
36 |
|
|
C !LOCAL VARIABLES: |
37 |
|
|
C == Local variables == |
38 |
jmc |
1.1 |
|
39 |
|
|
C-- Initialise connection with coupler |
40 |
|
|
#ifdef COMPONENT_MODULE |
41 |
|
|
CALL MITCOMPONENT_INIT( atmCompName, MPI_COMM_MODEL ) |
42 |
|
|
#endif |
43 |
|
|
|
44 |
|
|
RETURN |
45 |
|
|
END |