Back to home page

MITgcm

 
 

    


File indexing completed on 2023-03-03 06:10:11 UTC

view on githubraw file Latest commit 3156f625 on 2022-12-27 05:13:07 UTC
6d54cf9ca1 Ed H*0001 #ifndef MDSIO_OPTIONS_H
                0002 #define MDSIO_OPTIONS_H
                0003 #include "PACKAGES_CONFIG.h"
ffa487b126 Alis*0004 #include "CPP_OPTIONS.h"
                0005 
3156f625d5 Jean*0006 CBOP
                0007 C !ROUTINE: MDSIO_OPTIONS.h
                0008 C !INTERFACE:
                0009 C #include "MDSIO_OPTIONS.h"
                0010 
                0011 C !DESCRIPTION:
                0012 C *==================================================================*
                0013 C | CPP options file for pkg "mdsio":
                0014 C | Control which optional features to compile in this package code.
                0015 C *==================================================================*
                0016 CEOP
                0017 
d6c8672c92 Jean*0018 #ifdef ALLOW_MDSIO
                0019 C     Package-specific Options & Macros go here
                0020 
3156f625d5 Jean*0021 C-  Defining SAFE_IO stops the model from overwriting its own files
ffa487b126 Alis*0022 #undef  SAFE_IO
                0023 
                0024 #ifdef SAFE_IO
                0025 #define _NEW_STATUS 'new'
                0026 #else
                0027 #define _NEW_STATUS 'unknown'
                0028 #endif
                0029 
88b07ffa37 Jean*0030 #ifdef ALLOW_AUTODIFF
ffa487b126 Alis*0031 #define ALLOW_BROKEN_MDSIO_GL
                0032 #define _OLD_STATUS 'unknown'
                0033 #else
                0034 #undef  ALLOW_BROKEN_MDSIO_GL
                0035 #define _OLD_STATUS 'old'
                0036 #endif
6d54cf9ca1 Ed H*0037 
3156f625d5 Jean*0038 C-  I/O that includes tile halos in the files
88b07ffa37 Jean*0039 #ifdef ALLOW_AUTODIFF
3156f625d5 Jean*0040 C   Only used when pkg/autodiff is compiled:
d7fbd5d0c9 Gael*0041 # define ALLOW_WHIO
ab63ca39fb Gael*0042 # define ALLOW_WHIO_3D
3156f625d5 Jean*0043 # undef EXCLUDE_WHIO_GLOBUFF_2D
                0044 # undef INCLUDE_WHIO_GLOBUFF_3D
                0045 #endif /* ALLOW_AUTODIFF */
d7fbd5d0c9 Gael*0046 
6d54cf9ca1 Ed H*0047 #endif /* ALLOW_MDSIO */
                0048 #endif /* MDSIO_OPTIONS_H */