1 |
C $Header: /u/gcmpack/MITgcm/pkg/mdsio/MDSIO_OPTIONS.h,v 1.10 2011/12/24 01:09:39 jmc Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#ifndef MDSIO_OPTIONS_H |
5 |
#define MDSIO_OPTIONS_H |
6 |
#include "PACKAGES_CONFIG.h" |
7 |
#include "CPP_OPTIONS.h" |
8 |
|
9 |
#ifdef ALLOW_MDSIO |
10 |
C Package-specific Options & Macros go here |
11 |
|
12 |
C Defining SAFE_IO stops the model from overwriting its own files |
13 |
#undef SAFE_IO |
14 |
|
15 |
#ifdef SAFE_IO |
16 |
#define _NEW_STATUS 'new' |
17 |
#else |
18 |
#define _NEW_STATUS 'unknown' |
19 |
#endif |
20 |
|
21 |
#ifdef ALLOW_AUTODIFF |
22 |
#define ALLOW_BROKEN_MDSIO_GL |
23 |
#define _OLD_STATUS 'unknown' |
24 |
#else |
25 |
#undef ALLOW_BROKEN_MDSIO_GL |
26 |
#define _OLD_STATUS 'old' |
27 |
#endif |
28 |
|
29 |
C I/O that includes tile halos in the files |
30 |
#undef ALLOW_WHIO |
31 |
#ifdef ALLOW_AUTODIFF |
32 |
# define ALLOW_WHIO |
33 |
# define ALLOW_WHIO_3D |
34 |
#endif |
35 |
|
36 |
#endif /* ALLOW_MDSIO */ |
37 |
#endif /* MDSIO_OPTIONS_H */ |