| 1 |
C $Header: /u/gcmpack/models/MITgcmUV/model/inc/RECIP_HFACW_MACROS.h,v 1.1 1998/08/15 16:55:49 cnh Exp $ |
| 2 |
C $Name: $ |
| 3 |
C |
| 4 |
C /==========================================================\ |
| 5 |
C | RECIP_HFACW_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 RECIP_HFACW_CONST |
| 13 |
#define _recip_hFacW(i,j,k,bi,bj) recip_hFacW(1,1,1,1,1) |
| 14 |
#endif |
| 15 |
|
| 16 |
#ifdef RECIP_HFACW_FX |
| 17 |
#define _recip_hFacW(i,j,k,bi,bj) recip_hFacW(i,1,1,bi,1) |
| 18 |
#endif |
| 19 |
|
| 20 |
#ifdef RECIP_HFACW_FY |
| 21 |
#define _recip_hFacW(i,j,k,bi,bj) recip_hFacW(1,j,1,1,bj) |
| 22 |
#endif |
| 23 |
|
| 24 |
#ifdef RECIP_HFACW_FXY |
| 25 |
#define _recip_hFacW(i,j,k,bi,bj) recip_hFacW(i,j,1,bi,bj) |
| 26 |
#endif |
| 27 |
|
| 28 |
#ifndef _recip_hFacW |
| 29 |
#define _recip_hFacW(i,j,k,bi,bj) recip_hFacW(i,j,k,bi,bj) |
| 30 |
#endif |