1 |
cnh |
1.2 |
C $Header: /u/gcmpack/models/MITgcmUV/model/inc/RAS_MACROS.h,v 1.1 1998/11/30 23:45:24 adcroft Exp $ |
2 |
|
|
C $Name: $ |
3 |
adcroft |
1.1 |
C |
4 |
|
|
C /==========================================================\ |
5 |
|
|
C | RAS_MACROS.h | |
6 |
|
|
C |==========================================================| |
7 |
|
|
C | These macros are used to reduce memory requirement and/or| |
8 |
|
|
C | memory references when variables are fixed along a given | |
9 |
|
|
C | axis or axes. | |
10 |
|
|
C \==========================================================/ |
11 |
|
|
|
12 |
|
|
#ifdef RA_CONST |
13 |
|
|
#define _rAs(i,j,bi,bj) rAs(1,1,1,1) |
14 |
|
|
#endif |
15 |
|
|
|
16 |
|
|
#ifdef RA_FX |
17 |
|
|
#define _rAs(i,j,bi,bj) rAs(i,1,bi,1) |
18 |
|
|
#endif |
19 |
|
|
|
20 |
|
|
#ifdef RA_FY |
21 |
|
|
#define _rAs(i,j,bi,bj) rAs(1,j,1,bj) |
22 |
|
|
#endif |
23 |
|
|
|
24 |
|
|
#ifndef _rAs |
25 |
|
|
#define _rAs(i,j,bi,bj) rAs(i,j,bi,bj) |
26 |
|
|
#endif |