1 |
C $Header: /u/gcmpack/models/MITgcmUV/model/inc/YC_MACROS.h,v 1.2 2001/02/04 14:38:45 cnh Exp $ |
2 |
C $Name: $ |
3 |
C |
4 |
CBOP |
5 |
C !ROUTINE: YC_MACROS.h |
6 |
C !INTERFACE: |
7 |
C include YC_MACROS.h |
8 |
C !DESCRIPTION: \bv |
9 |
C *==========================================================* |
10 |
C | YC_MACROS.h |
11 |
C *==========================================================* |
12 |
C | These macros are used to reduce memory requirement and/or |
13 |
C | memory references when variables are fixed along a given |
14 |
C | axis or axes. |
15 |
C *==========================================================* |
16 |
C \ev |
17 |
CEOP |
18 |
|
19 |
#ifdef YC_CONST |
20 |
#define _yC(i,j,bi,bj) yC(1,1,1,1) |
21 |
#endif |
22 |
|
23 |
#ifdef YC_FX |
24 |
#define _yC(i,j,bi,bj) yC(i,1,bi,1) |
25 |
#endif |
26 |
|
27 |
#ifdef YC_FY |
28 |
#define _yC(i,j,bi,bj) yC(1,j,1,bj) |
29 |
#endif |
30 |
|
31 |
#ifndef _yC |
32 |
#define _yC(i,j,bi,bj) yC(i,j,bi,bj) |
33 |
#endif |