Back to home page

MITgcm

 
 

    


File indexing completed on 2018-03-02 18:45:32 UTC

view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
42d2613ce7 Jean*0001 C CPP options file for CD_CODE package
                0002 C Use this file for selecting CPP options within the cd_code package
                0003 
                0004 #ifndef CD_CODE_OPTIONS_H
                0005 #define CD_CODE_OPTIONS_H
                0006 #include "PACKAGES_CONFIG.h"
                0007 #include "CPP_OPTIONS.h"
                0008 
a589927d63 Jean*0009 #ifdef ALLOW_CD_CODE
                0010 C     Package-specific Options & Macros go here
                0011 
42d2613ce7 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 #define CD_CODE_NO_AB_MOMENTUM
                0018 #define CD_CODE_NO_AB_CORIOLIS
                0019 
                0020 #endif /* ALLOW_CD_CODE */
                0021 #endif /* CD_CODE_OPTIONS_H */