Changeset 1487 for trunk/NEMO/OFF_SRC
- Timestamp:
- 2009-07-07T16:21:58+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OFF_SRC/IOM/iom.F90
r1457 r1487 45 45 PRIVATE iom_p2d, iom_p3d 46 46 #if defined key_iomput 47 PRIVATE iom_init_chkcpp48 47 PRIVATE set_grid 49 48 # endif … … 99 98 CALL event__set_vert_axis( "depthv", gdept_0 ) 100 99 CALL event__set_vert_axis( "depthw", gdepw_0 ) 101 102 ! consistency regarding CPP keys...103 CALL iom_init_chkcpp104 100 105 101 ! end file definition … … 938 934 END SUBROUTINE set_grid 939 935 940 941 SUBROUTINE iom_init_chkcpp942 !!---------------------------------------------------------------------943 !! *** SUBROUTINE ***944 !!945 !! ** Purpose :946 !!---------------------------------------------------------------------947 USE zdfddm, ONLY : lk_zdfddm ! vertical physics: double diffusion948 949 #if ! defined key_off_tra950 #if defined key_dynspg_rl951 CALL event__disable_field( "sossheig" )952 #else953 CALL event__disable_field( "sobarstf" )954 #endif955 956 !!#if ! ( ! defined key_dynspg_rl && defined key_ice_lim)957 !! CALL disable_field( "iowaflup" )958 !! CALL disable_field( "sowaflep" )959 !!#endif960 961 #if ! defined key_coupled962 CALL event__enable_field( "sohefldp" )963 CALL event__enable_field( "sowafldp" )964 CALL event__enable_field( "sosafldp" )965 #endif966 967 #if ( defined key_coupled && ! defined key_lim3 && ! defined key_lim2 )968 CALL event__enable_field( "sohefldp" )969 CALL event__enable_field( "sowafldp" )970 CALL event__enable_field( "sosafldp" )971 #endif972 973 #if ! defined key_diaspr974 CALL event__disable_field( "sosurfps" )975 #endif976 977 #if ! defined key_diahth978 CALL event__disable_field( "sothedep" )979 CALL event__disable_field( "so20chgt" )980 CALL event__disable_field( "so28chgt" )981 CALL event__disable_field( "sohtc300" )982 #endif983 984 #if defined key_coupled985 # if defined key_lim3986 Must be adapted to LIM3987 # else988 CALL event__enable_field( "soicetem" )989 CALL event__enable_field( "soicealb" )990 # endif991 #endif992 993 #if ! defined key_diaeiv994 CALL event__disable_field( "vozoeivu" )995 CALL event__disable_field( "vomeeivv" )996 CALL event__disable_field( "voveeivw" )997 #endif998 999 #if ! defined key_dynspg_rl1000 CALL event__disable_field( "sozospgx" )1001 CALL event__disable_field( "somespgy" )1002 #endif1003 1004 IF( lk_zdfddm ) CALL event__enable_field( "voddmavs" )1005 1006 #if ! defined key_traldf_c2d1007 CALL event__disable_field( "soleahtw" )1008 #endif1009 1010 #if ! defined key_traldf_eiv1011 CALL event__disable_field( "soleaeiw" )1012 #endif1013 #endif1014 1015 END SUBROUTINE iom_init_chkcpp1016 1017 936 #else 1018 937
Note: See TracChangeset
for help on using the changeset viewer.