1 |
cnh |
1.1 |
C $Header: /u/gcmpack/models/MITgcmUV/model/inc/DYU_MACROS.h,v 1.1 1998/05/27 05:57:02 cnh Exp $ |
2 |
|
|
C |
3 |
|
|
C /==========================================================\ |
4 |
|
|
C | HFACC_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 HFACC_CONST |
12 |
|
|
#define _hFacC(i,j,k,bi,bj) hFacC(1,1,1,1,1) |
13 |
|
|
#endif |
14 |
|
|
|
15 |
|
|
#ifdef HFACC_FX |
16 |
|
|
#define _hFacC(i,j,k,bi,bj) hFacC(i,1,1,bi,1) |
17 |
|
|
#endif |
18 |
|
|
|
19 |
|
|
#ifdef HFACC_FY |
20 |
|
|
#define _hFacC(i,j,k,bi,bj) hFacC(1,j,1,1,bj) |
21 |
|
|
#endif |
22 |
|
|
|
23 |
|
|
#ifdef HFACC_FXY |
24 |
|
|
#define _hFacC(i,j,k,bi,bj) hFacC(i,j,1,bi,bj) |
25 |
|
|
#endif |
26 |
|
|
|
27 |
|
|
#ifndef _hFacC |
28 |
|
|
#define _hFacC(i,j,k,bi,bj) hFacC(i,j,k,bi,bj) |
29 |
|
|
#endif |