1 |
cnh |
1.4 |
C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/model/inc/FCORI_MACROS.h,v 1.4 2001/09/21 15:13:31 cnh Exp $ |
2 |
adcroft |
1.3 |
C $Name: $ |
3 |
cnh |
1.1 |
C |
4 |
cnh |
1.4 |
CBOP |
5 |
|
|
C !ROUTINE: FCORI_MACROS.h |
6 |
|
|
C !INTERFACE: |
7 |
|
|
C include FCORI_MACROS.h |
8 |
|
|
C !DESCRIPTION: \bv |
9 |
|
|
C *==========================================================* |
10 |
|
|
C | FCORI_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 |
cnh |
1.1 |
|
19 |
|
|
#ifdef FCORI_CONST |
20 |
|
|
#define _fCori(i,j,bi,bj) fCori(1,1,1,1) |
21 |
adcroft |
1.3 |
#define _fCoriG(i,j,bi,bj) fCoriG(1,1,1,1) |
22 |
cnh |
1.1 |
#endif |
23 |
|
|
|
24 |
|
|
#ifdef FCORI_FX |
25 |
|
|
#define _fCori(i,j,bi,bj) fCori(i,1,bi,1) |
26 |
adcroft |
1.3 |
#define _fCoriG(i,j,bi,bj) fCoriG(i,1,bi,1) |
27 |
cnh |
1.1 |
#endif |
28 |
|
|
|
29 |
|
|
#ifdef FCORI_FY |
30 |
|
|
#define _fCori(i,j,bi,bj) fCori(1,j,1,bj) |
31 |
adcroft |
1.3 |
#define _fCoriG(i,j,bi,bj) fCoriG(1,j,1,bj) |
32 |
cnh |
1.1 |
#endif |
33 |
|
|
|
34 |
|
|
#ifndef _fCori |
35 |
|
|
#define _fCori(i,j,bi,bj) fCori(i,j,bi,bj) |
36 |
adcroft |
1.3 |
#define _fCoriG(i,j,bi,bj) fCoriG(i,j,bi,bj) |
37 |
cnh |
1.1 |
#endif |