| 1 | cnh | 1.1 | C $Header: /u/gcmpack/MITgcm_contrib/ESMF/global_ocean.128x64x15/code/cpl_init.F,v 1.1.1.1 2004/02/15 22:28:19 cnh Exp $ | 
| 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     | - Oceanic 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 "OCNIDS.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     == Local variables == | 
| 30 |  |  |  | 
| 31 |  |  |  | 
| 32 |  |  | C--   Initialise connection with coupler | 
| 33 |  |  | #ifdef COMPONENT_MODULE | 
| 34 |  |  | C     CALL MITCOMPONENT_INIT( ocnCompName, MPI_COMM_MODEL ) | 
| 35 |  |  | #endif | 
| 36 |  |  |  | 
| 37 |  |  |  | 
| 38 |  |  | RETURN | 
| 39 |  |  | END |