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

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

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


Revision 1.1 - (hide annotations) (download)
Mon Nov 30 23:45:24 1998 UTC (25 years, 5 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint19, checkpoint28, checkpoint29, checkpoint20, checkpoint21, checkpoint22, checkpoint23, checkpoint24, checkpoint25, checkpoint27, branch-atmos-merge-freeze, branch-atmos-merge-start, checkpoint26, 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
These are changes concerning geometry on a sphere and BCs:
 o The calculation of RA used to be wrong if delX != delY.
 o The details of the cell geometry is now consistent with the
   "classic" CM-5 code.
 o Advection near boundaries is now correct.
 o Lateral no-slip/free-slip now works.
 o Vertical no-slip/free-slip now works properly.
 o del^4 viscosity (with no-slip/free-slip) now works properly.

1 adcroft 1.1 C $Header$
2     C
3     C /==========================================================\
4     C | RAW_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 RA_CONST
12     #define _rAw(i,j,bi,bj) rAw(1,1,1,1)
13     #endif
14    
15     #ifdef RA_FX
16     #define _rAw(i,j,bi,bj) rAw(i,1,bi,1)
17     #endif
18    
19     #ifdef RA_FY
20     #define _rAw(i,j,bi,bj) rAw(1,j,1,bj)
21     #endif
22    
23     #ifndef _rAw
24     #define _rAw(i,j,bi,bj) rAw(i,j,bi,bj)
25     #endif

  ViewVC Help
Powered by ViewVC 1.1.22