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

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

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


Revision 1.1 - (show annotations) (download)
Wed May 27 05:57:02 1998 UTC (25 years, 11 months ago) by cnh
Branch: MAIN
File MIME type: text/plain
Additional memory saving macros for special "grids"

1 C $Header: /u/gcmpack/models/MITgcmUV/model/inc/DXG_MACROS.h,v 1.2 1998/05/27 05:18:38 cnh Exp $
2 C
3 C /==========================================================\
4 C | DYG_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 DYG_CONST
12 #define _dyG(i,j,bi,bj) dyG(1,1,1,1)
13 #endif
14
15 #ifdef DYG_FX
16 #define _dyG(i,j,bi,bj) dyG(i,1,bi,1)
17 #endif
18
19 #ifdef DYG_FY
20 #define _dyG(i,j,bi,bj) dyG(1,j,1,bj)
21 #endif
22
23 #ifndef dyG
24 #define _dyG(i,j,bi,bj) dyG(i,j,bi,bj)
25 #endif

  ViewVC Help
Powered by ViewVC 1.1.22