/[MITgcm]/MITgcm/verification/lab_sea/code_ad/SIZE.h_mpi
ViewVC logotype

Annotation of /MITgcm/verification/lab_sea/code_ad/SIZE.h_mpi

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


Revision 1.1 - (hide annotations) (download)
Fri Dec 15 18:11:58 2006 UTC (17 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58u_post, checkpoint58w_post, checkpoint58x_post, checkpoint58t_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59h, checkpoint59, checkpoint58y_post, checkpoint58v_post
Initial check-in of lab_sea adjoint
(very similar to natl_box_adjoint/code_seaice)
* used C-grid and EVP solver
* used KPP, GM/Redi
* uses inAdExact=.TRUE.
* gradient checks fail for both ADM and TLM
  due to sensitive snow melt code in seaice_grwoth (look for "JZ")
  f.d. gradients actually seem more problematic than ADM, TLM gradients;
  issue is related to forward mismatch between g77 an ifort

1 heimbach 1.1 C $Header: /u/gcmpack/MITgcm/verification/lab_sea/code/SIZE.h_mpi,v 1.1 2003/09/10 02:25:47 edhill Exp $
2     C
3     CBOP
4     C !ROUTINE: SIZE.h
5     C !INTERFACE:
6     C include SIZE.h
7     C !DESCRIPTION: \bv
8     C *==========================================================*
9     C | SIZE.h Declare size of underlying computational grid.
10     C *==========================================================*
11     C | The design here support a three-dimensional model grid
12     C | with indices I,J and K. The three-dimensional domain
13     C | is comprised of nPx*nSx blocks of size sNx along one axis
14     C | nPy*nSy blocks of size sNy along another axis and one
15     C | block of size Nz along the final axis.
16     C | Blocks have overlap regions of size OLx and OLy along the
17     C | dimensions that are subdivided.
18     C *==========================================================*
19     C \ev
20     CEOP
21     C Voodoo numbers controlling data layout.
22     C sNx :: No. X points in sub-grid.
23     C sNy :: No. Y points in sub-grid.
24     C OLx :: Overlap extent in X.
25     C OLy :: Overlat extent in Y.
26     C nSx :: No. sub-grids in X.
27     C nSy :: No. sub-grids in Y.
28     C nPx :: No. of processes to use in X.
29     C nPy :: No. of processes to use in Y.
30     C Nx :: No. points in X for the total domain.
31     C Ny :: No. points in Y for the total domain.
32     C Nr :: No. points in Z for full process domain.
33     INTEGER sNx
34     INTEGER sNy
35     INTEGER OLx
36     INTEGER OLy
37     INTEGER nSx
38     INTEGER nSy
39     INTEGER nPx
40     INTEGER nPy
41     INTEGER Nx
42     INTEGER Ny
43     INTEGER Nr
44     PARAMETER (
45     & sNx = 10,
46     & sNy = 16,
47     & OLx = 3,
48     & OLy = 3,
49     & nSx = 1,
50     & nSy = 1,
51     & nPx = 2,
52     & nPy = 1,
53     & Nx = sNx*nSx*nPx,
54     & Ny = sNy*nSy*nPy,
55     & Nr = 23)
56    
57     C MAX_OLX - Set to the maximum overlap region size of any array
58     C MAX_OLY that will be exchanged. Controls the sizing of exch
59     C routine buufers.
60     INTEGER MAX_OLX
61     INTEGER MAX_OLY
62     PARAMETER ( MAX_OLX = OLx,
63     & MAX_OLY = OLy )
64    

  ViewVC Help
Powered by ViewVC 1.1.22