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

Annotation of /MITgcm_contrib/ESMF/interface_test/code/HFACC_MACROS.h

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


Revision 1.1 - (hide 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 cnh 1.1 C $Header: /u/gcmpack/MITgcm/model/inc/HFACC_MACROS.h,v 1.3 2001/09/21 15:13:31 cnh Exp $
2     C $Name: $
3     C
4     CBOP
5     C !ROUTINE: HFACC_MACROS.h
6     C !INTERFACE:
7     C include HFACC_MACROS.h
8     C !DESCRIPTION: \bv
9     C *==========================================================*
10     C | HFACC_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 HFACC_CONST
20     #define _hFacC(i,j,k,bi,bj) hFacC(1,1,1,1,1)
21     #endif
22    
23     #ifdef HFACC_FX
24     #define _hFacC(i,j,k,bi,bj) hFacC(i,1,1,bi,1)
25     #endif
26    
27     #ifdef HFACC_FY
28     #define _hFacC(i,j,k,bi,bj) hFacC(1,j,1,1,bj)
29     #endif
30    
31     #ifdef HFACC_FXY
32     #define _hFacC(i,j,k,bi,bj) hFacC(i,j,1,bi,bj)
33     #endif
34    
35     #ifndef _hFacC
36     #define _hFacC(i,j,k,bi,bj) hFacC(i,j,k,bi,bj)
37     #endif

  ViewVC Help
Powered by ViewVC 1.1.22