/[MITgcm]/MITgcm_contrib/jscott/pkg_atm2d/accept_component_registrations.F
ViewVC logotype

Annotation of /MITgcm_contrib/jscott/pkg_atm2d/accept_component_registrations.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Tue May 1 19:38:47 2007 UTC (18 years, 3 months ago) by jscott
Branch: MAIN
Changes since 1.2: +0 -5 lines
remove old atm2d package in contrib

1 jscott 1.2 #include "ATM2D_OPTIONS.h"
2 jscott 1.1 #ifdef ATM2D_MPI_ON
3    
4     CStartOfInterface
5     SUBROUTINE ACCEPT_COMPONENT_REGISTRATIONS
6     C /==========================================================\
7     C | SUBROUTINE ACCEPT_COMPONENT_REGISTRATIONS |
8     C | o Routine to coordinate registration of component other |
9     C | component processes. |
10     C |==========================================================|
11     C | During registration each component process sends its |
12     C | attributes. Currently attributes are the layout of tiles |
13     C | that the process owns. The 'Coupler' component (i.e. this|
14     C | process) stores these attributes. Subsequent transfers |
15     C | to/from the 'Coupler' process implicitly assume these |
16     C | gridding attributes. Only one set of attributes is |
17     C | allowed per process. The dimension arguments in the |
18     C | 'Coupler' process calls to the registration routine are |
19     C | used to check consistency. The tile interior extents |
20     C | registered by a component have to lie within the global |
21     C | extents set in the 'Coupler' process for that component. |
22     C \==========================================================/
23     IMPLICIT NONE
24     C === GLobal variables ==
25     #include "CPLIDS.h"
26     #include "OCNSIZE.h"
27     #include "OCNIDS.h"
28    
29     CEndOfInterface
30    
31     C === Local variables ===
32    
33     C During registration the coupler process collects attributes from each
34     C of the "component" participants. It collects the attributes from each
35     C participating component in turn. Individual components comprise of one
36     C or more processes. Each component process does its own registration call
37     C to report its attributes. The attributes that are collected
38     C include information on the grid region that a particular process "owns"
39     C and sends out information from.
40    
41     C Get attributes for ocean component.
42     CALL CPL_REGISTER_OCN
43    
44    
45     RETURN
46     END
47    
48     #endif
49    

  ViewVC Help
Powered by ViewVC 1.1.22