/[MITgcm]/MITgcm/pkg/mdsio/MDSIO_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm/pkg/mdsio/MDSIO_OPTIONS.h

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


Revision 1.5 - (hide annotations) (download)
Wed Apr 7 00:22:03 2004 UTC (20 years, 2 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint53, checkpoint53d_post, checkpoint52m_post, checkpoint53c_post, checkpoint53a_post, checkpoint53f_post, checkpoint52n_post, checkpoint53b_pre, checkpoint53b_post, checkpoint53d_pre
Changes since 1.4: +5 -3 lines
File MIME type: text/plain
extending useSingleCpuIO option ...

1 dimitri 1.5 C $Header: /u/gcmpack/MITgcm/pkg/mdsio/MDSIO_OPTIONS.h,v 1.4 2004/04/06 00:25:56 dimitri Exp $
2 adcroft 1.2 C $Name: $
3 adcroft 1.1
4 edhill 1.3 #ifndef MDSIO_OPTIONS_H
5     #define MDSIO_OPTIONS_H
6     #include "PACKAGES_CONFIG.h"
7     #ifdef ALLOW_MDSIO
8    
9 adcroft 1.1 #include "CPP_OPTIONS.h"
10    
11 adcroft 1.2 C Defining SAFE_IO stops the model from overwriting its own files
12 adcroft 1.1 #undef SAFE_IO
13    
14     #ifdef SAFE_IO
15     #define _NEW_STATUS 'new'
16     #else
17     #define _NEW_STATUS 'unknown'
18     #endif
19    
20     #ifdef ALLOW_AUTODIFF_TAMC
21     #define ALLOW_BROKEN_MDSIO_GL
22     #define _OLD_STATUS 'unknown'
23     #else
24     #undef ALLOW_BROKEN_MDSIO_GL
25     #define _OLD_STATUS 'old'
26     #endif
27 dimitri 1.4
28     C o By default pkg/mdsio assumes that missing tiles are
29     C present in the input and in the output files. When
30     C MISSING_TILE_IO is defined, the input and output
31     C files do not include the missing tiles. Therefore
32     C the 2-D dimension of input and output files is:
33     C #if defined(ALLOW_EXCH2) && !defined(MISSING_TILE_IO)
34 dimitri 1.5 C x_size = exch2_domain_nxt * sNx = exch2_domain_nxt*exch2_tnx
35     C y_size = exch2_domain_nyt * sNy = exch2_domain_nyt*exch2_tny
36 dimitri 1.4 C #else
37 dimitri 1.5 C x_size = Nx = sNx * nSx * nPx
38     C y_size = Ny = sNy * nSy * nPy
39 dimitri 1.4 C #endif
40     #undef MISSING_TILE_IO
41 edhill 1.3
42     #endif /* ALLOW_MDSIO */
43     #endif /* MDSIO_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22