1 |
C $Header: /u/gcmpack/models/MITgcmUV/model/inc/FCORI_MACROS.h,v 1.3 2001/05/29 14:01:36 adcroft Exp $ |
2 |
C $Name: $ |
3 |
C |
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 |
|
19 |
#ifdef FCORI_CONST |
20 |
#define _fCori(i,j,bi,bj) fCori(1,1,1,1) |
21 |
#define _fCoriG(i,j,bi,bj) fCoriG(1,1,1,1) |
22 |
#endif |
23 |
|
24 |
#ifdef FCORI_FX |
25 |
#define _fCori(i,j,bi,bj) fCori(i,1,bi,1) |
26 |
#define _fCoriG(i,j,bi,bj) fCoriG(i,1,bi,1) |
27 |
#endif |
28 |
|
29 |
#ifdef FCORI_FY |
30 |
#define _fCori(i,j,bi,bj) fCori(1,j,1,bj) |
31 |
#define _fCoriG(i,j,bi,bj) fCoriG(1,j,1,bj) |
32 |
#endif |
33 |
|
34 |
#ifndef _fCori |
35 |
#define _fCori(i,j,bi,bj) fCori(i,j,bi,bj) |
36 |
#define _fCoriG(i,j,bi,bj) fCoriG(i,j,bi,bj) |
37 |
#endif |