** Warning **

Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle dbname=MITgcm at /usr/local/share/lxr/lib/LXR/Common.pm line 1224.

Last-Modified: Fri, 31 Oct 2024 05:11:45 GMT Content-Type: text/html; charset=utf-8 MITgcm/MITgcm/verification/aim.5l_Equatorial_Channel/code/SIZE.h
Back to home page

MITgcm

 
 

    


File indexing completed on 2018-07-03 05:10:11 UTC

view on githubraw file Latest commit 03318334 on 2018-06-27 04:27:30 UTC
1b23894ba3 Jean*0001 CBOP
                0002 C    !ROUTINE: SIZE.h
                0003 C    !INTERFACE:
                0004 C    include SIZE.h
                0005 C    !DESCRIPTION: \bv
                0006 C     *==========================================================*
03318334e8 Jean*0007 C     | SIZE.h Declare size of underlying computational grid.
1b23894ba3 Jean*0008 C     *==========================================================*
03318334e8 Jean*0009 C     | The design here supports a three-dimensional model grid
                0010 C     | with indices I,J and K. The three-dimensional domain
                0011 C     | is comprised of nPx*nSx blocks (or tiles) of size sNx
                0012 C     | along the first (left-most index) axis, nPy*nSy blocks
                0013 C     | of size sNy along the second axis and one block of size
                0014 C     | Nr along the vertical (third) axis.
                0015 C     | Blocks/tiles have overlap regions of size OLx and OLy
                0016 C     | along the dimensions that are subdivided.
1b23894ba3 Jean*0017 C     *==========================================================*
                0018 C     \ev
03318334e8 Jean*0019 C
                0020 C     Voodoo numbers controlling data layout:
                0021 C     sNx :: Number of X points in tile.
                0022 C     sNy :: Number of Y points in tile.
                0023 C     OLx :: Tile overlap extent in X.
                0024 C     OLy :: Tile overlap extent in Y.
                0025 C     nSx :: Number of tiles per process in X.
                0026 C     nSy :: Number of tiles per process in Y.
                0027 C     nPx :: Number of processes to use in X.
                0028 C     nPy :: Number of processes to use in Y.
                0029 C     Nx  :: Number of points in X for the full domain.
                0030 C     Ny  :: Number of points in Y for the full domain.
                0031 C     Nr  :: Number of points in vertical direction.
1b23894ba3 Jean*0032 CEOP
42c525bfb4 Alis*0033       INTEGER sNx
                0034       INTEGER sNy
                0035       INTEGER OLx
                0036       INTEGER OLy
                0037       INTEGER nSx
                0038       INTEGER nSy
                0039       INTEGER nPx
                0040       INTEGER nPy
                0041       INTEGER Nx
                0042       INTEGER Ny
                0043       INTEGER Nr
                0044       PARAMETER (
c622efaecc Jean*0045      &           sNx =  32,
aea29c8517 Alis*0046      &           sNy =  23,
1b23894ba3 Jean*0047      &           OLx =   2,
                0048      &           OLy =   2,
c622efaecc Jean*0049      &           nSx =   4,
42c525bfb4 Alis*0050      &           nSy =   1,
                0051      &           nPx =   1,
                0052      &           nPy =   1,
                0053      &           Nx  = sNx*nSx*nPx,
                0054      &           Ny  = sNy*nSy*nPy,
                0055      &           Nr  =   5)
                0056 
c622efaecc Jean*0057 C     MAX_OLX :: Set to the maximum overlap region size of any array
42c525bfb4 Alis*0058 C     MAX_OLY    that will be exchanged. Controls the sizing of exch
c622efaecc Jean*0059 C                routine buffers.
42c525bfb4 Alis*0060       INTEGER MAX_OLX
                0061       INTEGER MAX_OLY
                0062       PARAMETER ( MAX_OLX = OLx,
                0063      &            MAX_OLY = OLy )
                0064