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

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

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


Revision 1.1 - (show annotations) (download)
Sat Aug 15 16:55:48 1998 UTC (25 years, 9 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint15, checkpoint14, checkpoint17, checkpoint19, checkpoint18, checkpoint28, checkpoint29, checkpoint20, checkpoint21, checkpoint22, checkpoint23, checkpoint24, checkpoint25, checkpoint27, branch-atmos-merge-freeze, branch-atmos-merge-start, checkpoint26, checkpoint16, branch-atmos-merge-shapiro, checkpoint33, checkpoint32, checkpoint31, checkpoint30, checkpoint34, branch-atmos-merge-zonalfilt, 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: branch-atmos-merge
File MIME type: text/plain
Changes for moving from z -> r as a vertical coordinate
Required changing r -> recip for reciprocal variable notation.

1 C $Header: /u/gcmpack/models/MITgcmUV/model/inc/RDYF_MACROS.h,v 1.1 1998/05/27 21:01:47 cnh Exp $
2 C
3 C /==========================================================\
4 C | RECIP_DYF_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 RECIP_DYF_CONST
12 #define _recip_dyF(i,j,bi,bj) recip_dyF(1,1,1,1)
13 #endif
14
15 #ifdef RECIP_DYF_FX
16 #define _recip_dyF(i,j,bi,bj) recip_dyF(i,1,bi,1)
17 #endif
18
19 #ifdef RECIP_DYF_FY
20 #define _recip_dyF(i,j,bi,bj) recip_dyF(1,j,1,bj)
21 #endif
22
23 #ifndef _recip_dyF
24 #define _recip_dyF(i,j,bi,bj) recip_dyF(i,j,bi,bj)
25 #endif

  ViewVC Help
Powered by ViewVC 1.1.22