/[MITgcm]/MITgcm/eesupp/src/exch_z_xyz_rx.template
ViewVC logotype

Annotation of /MITgcm/eesupp/src/exch_z_xyz_rx.template

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


Revision 1.4 - (hide annotations) (download)
Sat Apr 3 04:46:34 2004 UTC (20 years, 2 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint58l_post, checkpoint53f_post, checkpoint54a_pre, checkpoint55c_post, checkpoint53b_pre, checkpoint57m_post, checkpoint58e_post, checkpoint57v_post, checkpoint52n_post, checkpoint57f_post, checkpoint57s_post, checkpoint57j_post, checkpoint58b_post, checkpoint58m_post, checkpoint57b_post, checkpoint53c_post, checkpoint53d_post, checkpoint57f_pre, checkpoint57k_post, checkpoint55d_pre, checkpoint57d_post, checkpoint57g_post, checkpoint57a_post, checkpoint58r_post, checkpoint55j_post, checkpoint56b_post, checkpoint59c, checkpoint57y_post, checkpoint58g_post, checkpoint57x_post, checkpoint54a_post, checkpoint55h_post, checkpoint58n_post, checkpoint58x_post, checkpoint57g_pre, checkpoint54b_post, checkpoint58h_post, checkpoint57e_post, checkpoint58w_post, checkpoint54d_post, checkpoint56c_post, checkpoint54e_post, checkpoint58j_post, checkpoint55b_post, checkpoint57h_post, checkpoint52m_post, checkpoint57y_pre, checkpoint55, checkpoint53a_post, checkpoint55a_post, checkpoint57c_pre, mitgcm_mapl_00, checkpoint57o_post, checkpoint55g_post, checkpoint57r_post, checkpoint59e, checkpoint59d, checkpoint59a, checkpoint55f_post, checkpoint57i_post, checkpoint59b, checkpoint57h_pre, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint54, checkpoint57, checkpoint56, checkpoint53, checkpoint57h_done, checkpoint58f_post, checkpoint53g_post, checkpoint57n_post, checkpoint58d_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58o_post, checkpoint57z_post, checkpoint54f_post, eckpoint57e_pre, checkpoint58c_post, checkpoint58k_post, checkpoint57c_post, checkpoint58u_post, checkpoint58y_post, checkpoint53b_post, checkpoint58v_post, checkpoint53d_pre, checkpoint58s_post, checkpoint55e_post, checkpoint54c_post, checkpoint58p_post, checkpoint58t_post, checkpoint58q_post, checkpoint55i_post, checkpoint57l_post, checkpoint56a_post, checkpoint55d_post
Changes since 1.3: +2 -1 lines
 o fix the broken _R[48] items checked in to eesupp earlier today

1 edhill 1.4 C $Header: /u/gcmpack/MITgcm/eesupp/src/exch_z_xyz_rx.template,v 1.3 2001/09/21 03:55:50 cnh Exp $
2 cnh 1.3 C $Name: $
3 adcroft 1.2
4     #include "CPP_EEOPTIONS.h"
5    
6 cnh 1.3 CBOP
7     C !ROUTINE: EXCH_Z_XYZ_RX
8    
9     C !INTERFACE:
10 adcroft 1.2 SUBROUTINE EXCH_Z_XYZ_RX(
11     U phi,
12     I myThid )
13     IMPLICIT NONE
14 cnh 1.3 C !DESCRIPTION:
15     C *==========================================================*
16     C | SUBROUTINE EXCH_Z_XYZ_RX
17     C | o Handle exchanges for _RX, 3-dim, zeta coord arrays.
18     C *==========================================================*
19     C | Branch to appropriate exchange routine for a zeta coord
20     C | array on the current grid scheme.
21     C *==========================================================*
22 adcroft 1.2
23 cnh 1.3 C !USES:
24     C == Global variables ==
25 adcroft 1.2 #include "SIZE.h"
26     #include "EEPARAMS.h"
27     #include "EESUPPORT.h"
28 edhill 1.4 #include "EXCH.h"
29 adcroft 1.2
30 cnh 1.3 C !INPUT/OUTPUT PARAMETERS:
31     C == Routine arguments ==
32     C phi :: Array with overlap regions are to be exchanged
33     C Note - The interface to EXCH_RX assumes that
34     C the standard Fortran 77 sequence association rules
35     C apply.
36     C myThid :: My thread id.
37 adcroft 1.2 _RX phi(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
38     INTEGER myThid
39    
40 cnh 1.3 C !LOCAL VARIABLES:
41 adcroft 1.2 C == Local variables ==
42 cnh 1.3 C OL[wens] :: Overlap extents in west, east, north, south.
43     C exchWidth[XY] :: Extent of regions that will be exchanged.
44 adcroft 1.2 INTEGER OLw, OLe, OLn, OLs, exchWidthX, exchWidthY, myNz
45 cnh 1.3 CEOP
46 adcroft 1.2
47     OLw = OLx
48     OLe = OLx
49     OLn = OLy
50     OLs = OLy
51     exchWidthX = OLx
52     exchWidthY = OLy
53     myNz = Nr
54     C ** NOTE ** The exchange routine we use here does not
55     C require the preceeding and following barriers.
56     C However, the slow, simple exchange interface
57     C that is calling it here is meant to ensure
58     C that threads are synchronised before exchanges
59     C begine.
60     IF (useCubedSphereExchange) THEN
61     CALL EXCH_Z_RX_CUBE( phi,
62     I OLw, OLe, OLs, OLn, myNz,
63     I exchWidthX, exchWidthY,
64     I FORWARD_SIMULATION, EXCH_UPDATE_CORNERS, myThid )
65     ELSE
66     CALL EXCH_RX( phi,
67     I OLw, OLe, OLs, OLn, myNz,
68     I exchWidthX, exchWidthY,
69     I FORWARD_SIMULATION, EXCH_UPDATE_CORNERS, myThid )
70     ENDIF
71    
72     RETURN
73     END

  ViewVC Help
Powered by ViewVC 1.1.22