1 |
C $Header: /u/gcmpack/models/MITgcmUV/model/inc/HFACS_MACROS.h,v 1.1 1998/05/27 21:01:46 cnh Exp $ |
2 |
C $Name: $ |
3 |
C |
4 |
C /==========================================================\ |
5 |
C | HFACS_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 HFACS_CONST |
13 |
#define _hFacS(i,j,k,bi,bj) hFacS(1,1,1,1,1) |
14 |
#endif |
15 |
|
16 |
#ifdef HFACS_FX |
17 |
#define _hFacS(i,j,k,bi,bj) hFacS(i,1,1,bi,1) |
18 |
#endif |
19 |
|
20 |
#ifdef HFACS_FY |
21 |
#define _hFacS(i,j,k,bi,bj) hFacS(1,j,1,1,bj) |
22 |
#endif |
23 |
|
24 |
#ifdef HFACS_FXY |
25 |
#define _hFacS(i,j,k,bi,bj) hFacS(i,j,1,bi,bj) |
26 |
#endif |
27 |
|
28 |
#ifndef _hFacS |
29 |
#define _hFacS(i,j,k,bi,bj) hFacS(i,j,k,bi,bj) |
30 |
#endif |