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