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

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

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


Revision 1.1 - (show annotations) (download)
Wed May 27 21:01:47 1998 UTC (26 years ago) by cnh
Branch: MAIN
CVS Tags: checkpoint5, checkpoint4, checkpoint6
File MIME type: text/plain
Further memory saving macros for particular grids

1 C $Header: /u/gcmpack/models/MITgcmUV/model/inc/RDYG_MACROS.h,v 1.1 1998/05/27 05:57:02 cnh Exp $
2 C
3 C /==========================================================\
4 C | RDYG_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 RDYG_CONST
12 #define _rdyG(i,j,bi,bj) rdyG(1,1,1,1)
13 #endif
14
15 #ifdef RDYG_FX
16 #define _rdyG(i,j,bi,bj) rdyG(i,1,bi,1)
17 #endif
18
19 #ifdef RDYG_FY
20 #define _rdyG(i,j,bi,bj) rdyG(1,j,1,bj)
21 #endif
22
23 #ifndef rdyG
24 #define _rdyG(i,j,bi,bj) rdyG(i,j,bi,bj)
25 #endif

  ViewVC Help
Powered by ViewVC 1.1.22