1 |
C $Header: /u/gcmpack/models/MITgcmUV/model/inc/DYG_MACROS.h,v 1.3 2001/02/04 14:38:44 cnh Exp $ |
2 |
C $Name: $ |
3 |
C |
4 |
CBOP |
5 |
C !ROUTINE: DYG_MACROS.h |
6 |
C !INTERFACE: |
7 |
C include DYG_MACROS.h |
8 |
C !DESCRIPTION: \bv |
9 |
C *==========================================================* |
10 |
C | DYG_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 DYG_CONST |
20 |
#define _dyG(i,j,bi,bj) dyG(1,1,1,1) |
21 |
#endif |
22 |
|
23 |
#ifdef DYG_FX |
24 |
#define _dyG(i,j,bi,bj) dyG(i,1,bi,1) |
25 |
#endif |
26 |
|
27 |
#ifdef DYG_FY |
28 |
#define _dyG(i,j,bi,bj) dyG(1,j,1,bj) |
29 |
#endif |
30 |
|
31 |
#ifndef _dyG |
32 |
#define _dyG(i,j,bi,bj) dyG(i,j,bi,bj) |
33 |
#endif |