1 |
jmc |
1.1 |
C $Header: $ |
2 |
|
|
C $Name: $ |
3 |
|
|
|
4 |
|
|
#include "CPP_OPTIONS.h" |
5 |
|
|
|
6 |
|
|
CStartOfInterface |
7 |
|
|
SUBROUTINE CPL_INIT |
8 |
|
|
C *==========================================================* |
9 |
|
|
C | SUBROUTINE CPL_INIT | |
10 |
|
|
C | o Routine controlling coupler layer initialisation. | |
11 |
|
|
C | - Atmospheric version - | |
12 |
|
|
C *==========================================================* |
13 |
|
|
C | This version talks to the MIT Coupler. It uses the MIT | |
14 |
|
|
C | Coupler "checkpoint1" library calls. | |
15 |
|
|
C *==========================================================* |
16 |
|
|
IMPLICIT NONE |
17 |
|
|
|
18 |
|
|
C == Global variables == |
19 |
|
|
#include "SIZE.h" |
20 |
|
|
#include "EEPARAMS.h" |
21 |
|
|
#include "EESUPPORT.h" |
22 |
|
|
#include "ATMIDS.h" |
23 |
|
|
|
24 |
|
|
C == Routine arguments == |
25 |
|
|
C myThid - Thread number for this instance of the routine |
26 |
|
|
INTEGER myThid |
27 |
|
|
CEndOfInterface |
28 |
|
|
|
29 |
|
|
C-- Initialise connection with coupler |
30 |
|
|
#ifdef COMPONENT_MODULE |
31 |
|
|
CALL MITCOMPONENT_INIT( atmCompName, MPI_COMM_MODEL ) |
32 |
|
|
#endif |
33 |
|
|
|
34 |
|
|
|
35 |
|
|
RETURN |
36 |
|
|
END |