/[MITgcm]/MITgcm/pkg/layers/LAYERS_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm/pkg/layers/LAYERS_OPTIONS.h

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


Revision 1.4 - (hide annotations) (download)
Wed Sep 19 18:48:18 2012 UTC (11 years, 8 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint64
Changes since 1.3: +6 -1 lines
File MIME type: text/plain
- added layers_maxNum dimension, to allow for multiple layers
  computations at once (if layers_maxNum >1 in LAYERS_SIZE.h).
- added/replaced new run time parameters :
  layers_bounds (repl. layers_G), layers_bolus (repl. useBOLUS),
  layers_num (repl. LAYER_nb; set by run time layers_name),
  layers_name ('TH', 'SLT' or 'RHO'), layers_krho (repl. layers_kref)
- The old way of specifying LAYER_nb, layers_G, etc. is kept
  for backward compatibility, and superseeds the new way. For now.
- layers_G.data output is replaced with layers1SLT.data
  where '1' is the layers set index (.LE.layers_maxNum)
  and 'SLT' is layers_name (i.e. the type of layers).
- Typical diagnostics names : 'LaUH1SLT','LaHw1SLT'.
- bug fix : previous commit was missing a pair of bi,bj loops.
- added ALLOW_LAYERS_OUTPUT cpp option : if undef then comment
  out the old fashion way of output (that still works for the
  first set of layers). Prefered way now is via pkg/diagnostics.

1 gforget 1.4 C $Header: /u/gcmpack/MITgcm/pkg/layers/LAYERS_OPTIONS.h,v 1.3 2011/12/24 01:04:48 jmc Exp $
2 rpa 1.1 C $Name: $
3    
4 jmc 1.3 C CPP options file for LAYERS package
5 rpa 1.1 C Use this file for selecting options within package "LAYERS"
6    
7     #ifndef LAYERS_OPTIONS_H
8     #define LAYERS_OPTIONS_H
9     #include "PACKAGES_CONFIG.h"
10 jmc 1.3 #include "CPP_OPTIONS.h"
11 rpa 1.1
12     #ifdef ALLOW_LAYERS
13 jmc 1.3 C Package-specific Options & Macros go here
14 rpa 1.1
15     C Compute isopycnal tranports in the U direction?
16     #define LAYERS_UFLUX
17     C Compute isopycnal tranports in the V direction?
18     #define LAYERS_VFLUX
19     C Keep track of layer thicknesses?
20     #define LAYERS_THICKNESS
21    
22     C The MNC stuff is too complicated
23     #undef LAYERS_MNC
24    
25 gforget 1.4 C To allow use for snapshots and time average without
26     C pkg/diagnostics, using pkg/layers own codes and timeave
27     C the old-fasioned way, only for the first set of layers.
28     #undef ALLOW_LAYERS_OUTPUT
29    
30 dfer 1.2 C Allow use of potential density as a layering field.
31     #define LAYERS_PRHO_REF
32    
33 rpa 1.1 #endif /* ALLOW_LAYERS */
34     #endif /* LAYERS_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22