Back to home page

MITgcm

 
 

    


File indexing completed on 2018-03-02 18:38:17 UTC

view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
138482fdf6 Ed H*0001 C CPP options file for CD_CODE package
da4112fbea Jean*0002 C Use this file for selecting CPP options within the cd_code package
138482fdf6 Ed H*0003 
                0004 #ifndef CD_CODE_OPTIONS_H
                0005 #define CD_CODE_OPTIONS_H
                0006 #include "PACKAGES_CONFIG.h"
                0007 #include "CPP_OPTIONS.h"
                0008 
d6c8672c92 Jean*0009 #ifdef ALLOW_CD_CODE
                0010 C     Package-specific Options & Macros go here
                0011 
da4112fbea Jean*0012 C Change defaut to get the same time-stepping for D-grid momentum and
                0013 C  C-grid momentum. D-grid velocity used to be stepped forward in time
                0014 C  with Adams-Bashforth only on surface pressure term. Tests show that
                0015 C  using AB on D-grid coriolis term improves stability (as expected from
                0016 C  CD-scheme paper). The following 2 options allow to reproduce old results.
                0017 #undef CD_CODE_NO_AB_MOMENTUM
                0018 #undef CD_CODE_NO_AB_CORIOLIS
                0019 
138482fdf6 Ed H*0020 #endif /* ALLOW_CD_CODE */
                0021 #endif /* CD_CODE_OPTIONS_H */