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

Annotation of /MITgcm/model/inc/HFACW_MACROS.h

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


Revision 1.1 - (hide annotations) (download)
Wed May 27 21:01:46 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
File MIME type: text/plain
Further memory saving macros for particular grids

1 cnh 1.1 C $Header: /u/gcmpack/models/MITgcmUV/model/inc/DYU_MACROS.h,v 1.1 1998/05/27 05:57:02 cnh Exp $
2     C
3     C /==========================================================\
4     C | HFACW_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 HFACW_CONST
12     #define _hFacW(i,j,k,bi,bj) hFacW(1,1,1,1,1)
13     #endif
14    
15     #ifdef HFACW_FX
16     #define _hFacW(i,j,k,bi,bj) hFacW(i,1,1,bi,1)
17     #endif
18    
19     #ifdef HFACW_FY
20     #define _hFacW(i,j,k,bi,bj) hFacW(1,j,1,1,bj)
21     #endif
22    
23     #ifdef HFACW_FXY
24     #define _hFacW(i,j,k,bi,bj) hFacW(i,j,1,bi,bj)
25     #endif
26    
27     #ifndef _hFacW
28     #define _hFacW(i,j,k,bi,bj) hFacW(i,j,k,bi,bj)
29     #endif

  ViewVC Help
Powered by ViewVC 1.1.22