1 |
C $Header: /u/gcmpack/models/MITgcmUV/model/inc/FCORI_MACROS.h,v 1.2.2.1 2001/04/02 16:37:20 adcroft Exp $ |
2 |
C $Name: $ |
3 |
C |
4 |
C /==========================================================\ |
5 |
C | FCORI_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 FCORI_CONST |
13 |
#define _fCori(i,j,bi,bj) fCori(1,1,1,1) |
14 |
#define _fCoriG(i,j,bi,bj) fCoriG(1,1,1,1) |
15 |
#endif |
16 |
|
17 |
#ifdef FCORI_FX |
18 |
#define _fCori(i,j,bi,bj) fCori(i,1,bi,1) |
19 |
#define _fCoriG(i,j,bi,bj) fCoriG(i,1,bi,1) |
20 |
#endif |
21 |
|
22 |
#ifdef FCORI_FY |
23 |
#define _fCori(i,j,bi,bj) fCori(1,j,1,bj) |
24 |
#define _fCoriG(i,j,bi,bj) fCoriG(1,j,1,bj) |
25 |
#endif |
26 |
|
27 |
#ifndef _fCori |
28 |
#define _fCori(i,j,bi,bj) fCori(i,j,bi,bj) |
29 |
#define _fCoriG(i,j,bi,bj) fCoriG(i,j,bi,bj) |
30 |
#endif |