/[MITgcm]/MITgcm_contrib/ESMF/interface_test/code/DXG_MACROS.h
ViewVC logotype

Contents of /MITgcm_contrib/ESMF/interface_test/code/DXG_MACROS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Feb 16 18:57:51 2004 UTC (21 years, 5 months ago) by cnh
Branch: MAIN
CVS Tags: adoption_1_0_pre_A, HEAD
File MIME type: text/plain
Base files needed for simple component build

1 C $Header: /u/gcmpack/MITgcm/model/inc/DXG_MACROS.h,v 1.4 2001/09/21 15:13:31 cnh Exp $
2 C $Name: $
3 C
4 CBOP
5 C !ROUTINE: DXG_MACROS.h
6 C !INTERFACE:
7 C include DXG_MACROS.h
8 C !DESCRIPTION: \bv
9 C *==========================================================*
10 C | DXG_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 DXG_CONST
20 #define _dxG(i,j,bi,bj) dxG(1,1,1,1)
21 #endif
22
23 #ifdef DXG_FX
24 #define _dxG(i,j,bi,bj) dxG(i,1,bi,1)
25 #endif
26
27 #ifdef DXG_FY
28 #define _dxG(i,j,bi,bj) dxG(1,j,1,bj)
29 #endif
30
31 #ifndef _dxG
32 #define _dxG(i,j,bi,bj) dxG(i,j,bi,bj)
33 #endif

  ViewVC Help
Powered by ViewVC 1.1.22