/[MITgcm]/MITgcm_contrib/exch3/EX3_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm_contrib/exch3/EX3_OPTIONS.h

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


Revision 1.1 - (hide annotations) (download)
Thu Apr 6 20:36:25 2006 UTC (19 years, 3 months ago) by edhill
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
move out of the model and into MITgcm_contrib

1 edhill 1.1 C $Header: /u/gcmpack/MITgcm/pkg/ex3/EX3_OPTIONS.h,v 1.1 2005/10/14 05:49:42 edhill Exp $
2     C $Name: $
3    
4     #ifndef EX3_OPTIONS_H
5     #define EX3_OPTIONS_H
6     #include "PACKAGES_CONFIG.h"
7     #ifdef ALLOW_EX3
8    
9     #include "CPP_OPTIONS.h"
10    
11     C--- Package-specific options go here ---
12    
13     C #define EX3_DEBUG
14    
15    
16     C--- Defines for MPI sizes -------------------------------
17     C Comment out the following to use:
18     C . MPI_DOUBLE_PRECISION instead of MPI_REAL8
19     C . MPI_REAL instead of MPI_REAL4
20     #define EX3_USE_MPI_REAL8
21    
22     #ifdef EX3_USE_MPI_REAL8
23    
24     #ifndef EX3_MPI_TYPE_RL
25     #define EX3_MPI_TYPE_RL MPI_REAL8
26     #endif
27     #ifndef EX3_MPI_TYPE_RS
28     #define EX3_MPI_TYPE_RS MPI_REAL8
29     #endif
30     #ifndef EX3_MPI_TYPE_R8
31     #define EX3_MPI_TYPE_R8 MPI_REAL8
32     #endif
33     #ifndef EX3_MPI_TYPE_R4
34     #define EX3_MPI_TYPE_R4 MPI_REAL4
35     #endif
36    
37     #else
38    
39     #ifndef EX3_MPI_TYPE_RL
40     #define EX3_MPI_TYPE_RL MPI_DOUBLE_PRECISION
41     #endif
42     #ifndef EX3_MPI_TYPE_RS
43     #define EX3_MPI_TYPE_RS MPI_DOUBLE_PRECISION
44     #endif
45     #ifndef EX3_MPI_TYPE_R8
46     #define EX3_MPI_TYPE_R8 MPI_DOUBLE_PRECISION
47     #endif
48     #ifndef EX3_MPI_TYPE_R4
49     #define EX3_MPI_TYPE_R4 MPI_REAL
50     #endif
51    
52     #endif
53     C--- Defines for MPI sizes -------------------------------
54    
55    
56     #endif /* ALLOW_EX3 */
57     #endif /* EX3_OPTIONS_H */
58    
59    
60     CEH3 ;;; Local Variables: ***
61     CEH3 ;;; mode:fortran ***
62     CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22