1 |
C $Header: $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "CPP_OPTIONS.h" |
5 |
|
6 |
CStartOfInterface |
7 |
SUBROUTINE CPL_REGISTER_OCN |
8 |
C /==========================================================\ |
9 |
C | SUBROUTINE CPL_REGISTER_OCN | |
10 |
C | o Routine for registration of ocean config. with coupler | |
11 |
C | layer. | |
12 |
C |==========================================================| |
13 |
C | This version talks to the MITgcm general circulation | |
14 |
C | model. For now just get the models depth map. | |
15 |
C \==========================================================/ |
16 |
IMPLICIT NONE |
17 |
|
18 |
C == Global variables == |
19 |
#include "OCNSIZE.h" |
20 |
#include "OCNVARS.h" |
21 |
#include "OCNIDS.h" |
22 |
|
23 |
C == Routine arguments == |
24 |
|
25 |
C == Local variables == |
26 |
|
27 |
CEndOfInterface |
28 |
|
29 |
C Call MIT Coupler registration acceptance procedure. Make sure that nobody |
30 |
C who registers for ocnCompName has a sub-domain that exceeds the bounds |
31 |
C Nx_ocn, Ny_ocn. |
32 |
C The first argument to MITCOUPLER_tile_register gives the name of the |
33 |
C component whose attributes will be collected by the particular call |
34 |
C to MITCOUPLER_tile_register. |
35 |
C The second and third arguments to MITCOUPLER_tile_register are used |
36 |
C for an internal error check. This check makes sure that the sub-domain |
37 |
C sizes reported by each of the component processes for a given component |
38 |
C fall within the global domain size the coupler is expecting. |
39 |
CALL MITCOUPLER_TILE_REGISTER( ocnCompName, Nx_ocn, Ny_ocn ) |
40 |
|
41 |
RETURN |
42 |
END |