/[MITgcm]/MITgcm/model/inc/DYG_MACROS.h
ViewVC logotype

Contents of /MITgcm/model/inc/DYG_MACROS.h

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


Revision 1.2 - (show annotations) (download)
Sat May 30 02:10:15 1998 UTC (25 years, 11 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint11, checkpoint10, checkpoint13, checkpoint15, checkpoint14, checkpoint17, checkpoint19, checkpoint18, checkpoint28, checkpoint29, checkpoint20, checkpoint21, checkpoint22, checkpoint23, checkpoint24, checkpoint25, checkpoint27, branch-atmos-merge-freeze, branch-atmos-merge-start, checkpoint5, checkpoint4, checkpoint7, checkpoint6, checkpoint9, checkpoint8, checkpoint26, checkpoint12, checkpoint16, branch-atmos-merge-shapiro, checkpoint33, checkpoint32, checkpoint31, checkpoint30, checkpoint34, branch-atmos-merge-zonalfilt, branch-point-rdot, branch-atmos-merge-phase5, branch-atmos-merge-phase4, branch-atmos-merge-phase7, branch-atmos-merge-phase6, branch-atmos-merge-phase1, branch-atmos-merge-phase3, branch-atmos-merge-phase2
Branch point for: checkpoint7-4degree-ref, branch-rdot, branch-atmos-merge
Changes since 1.1: +2 -2 lines
File MIME type: text/plain
Further memory saving macros for particular grids

1 C $Header: /u/gcmpack/models/MITgcmUV/model/inc/DYG_MACROS.h,v 1.1 1998/05/27 05:57:02 cnh Exp $
2 C
3 C /==========================================================\
4 C | DYG_MACROS.h |
5 C |==========================================================|
6 C | These macros are used to reduce memory requirement and/or|
7 C | memory references when variables are fixed along a given |
8 C | axis or axes. |
9 C \==========================================================/
10
11 #ifdef DYG_CONST
12 #define _dyG(i,j,bi,bj) dyG(1,1,1,1)
13 #endif
14
15 #ifdef DYG_FX
16 #define _dyG(i,j,bi,bj) dyG(i,1,bi,1)
17 #endif
18
19 #ifdef DYG_FY
20 #define _dyG(i,j,bi,bj) dyG(1,j,1,bj)
21 #endif
22
23 #ifndef _dyG
24 #define _dyG(i,j,bi,bj) dyG(i,j,bi,bj)
25 #endif

  ViewVC Help
Powered by ViewVC 1.1.22