/[MITgcm]/MITgcm/model/inc/DXV_MACROS.h
ViewVC logotype

Contents of /MITgcm/model/inc/DXV_MACROS.h

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


Revision 1.1 - (show annotations) (download)
Tue May 26 21:29:44 1998 UTC (25 years, 11 months ago) by cnh
Branch: MAIN
File MIME type: text/plain
Changes to support "low" memory mode of operation
 - Small change to allow _RS -> REAL*4 to work
 - Added some macros for case where grid variations are a
   a subset of the general case. e.g. dx constnat or flat bottom

1 C $Header:$
2 C
3 C /==========================================================\
4 C | DXV_MACROS.h |
5 C |==========================================================|
6 C | These macros are used to reduce memory requirement and/or|
7 C | memory references when variables are fixed along a given |
8 C | axis or axes. |
9 C \==========================================================/
10
11 #ifdef DXV_CONST
12 #define _dxV(i,j,bi,bj) dxV(1,1,1,1)
13 #endif
14
15 #ifdef DXV_FX_ONLY
16 #define _dxV(i,j,bi,bj) dxV(i,1,bi,1)
17 #endif
18
19 #ifdef DXV_FY_ONLY
20 #define _dxV(i,j,bi,bj) dxV(1,j,1,bj)
21 #endif
22
23 #ifndef _dxV
24 #define _dxV(i,j,bi,bj) dxV(i,j,bi,bj)
25 #endif

  ViewVC Help
Powered by ViewVC 1.1.22