1 |
cnh |
1.2 |
C $Header: /u/gcmpack/models/MITgcmUV/model/inc/MASKS_MACROS.h,v 1.1 1998/05/30 02:10:15 cnh Exp $ |
2 |
|
|
C $Name: $ |
3 |
cnh |
1.1 |
C |
4 |
|
|
C /==========================================================\ |
5 |
|
|
C | MASKS_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 MASKS_CONST |
13 |
|
|
#define _maskS(i,j,k,bi,bj) maskS(1,1,1,1,1) |
14 |
|
|
#endif |
15 |
|
|
|
16 |
|
|
#ifdef MASKS_FX |
17 |
|
|
#define _maskS(i,j,k,bi,bj) maskS(i,1,1,bi,1) |
18 |
|
|
#endif |
19 |
|
|
|
20 |
|
|
#ifdef MASKS_FY |
21 |
|
|
#define _maskS(i,j,k,bi,bj) maskS(1,j,1,1,bj) |
22 |
|
|
#endif |
23 |
|
|
|
24 |
|
|
#ifdef MASKS_FXY |
25 |
|
|
#define _maskS(i,j,k,bi,bj) maskS(i,j,1,bi,bj) |
26 |
|
|
#endif |
27 |
|
|
|
28 |
|
|
#ifndef _maskS |
29 |
|
|
#define _maskS(i,j,k,bi,bj) maskS(i,j,k,bi,bj) |
30 |
|
|
#endif |