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