Changeset 7311 for branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/LDF/ldftra_substitute.h90
- Timestamp:
- 2016-11-23T07:30:18+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/LDF/ldftra_substitute.h90
r7256 r7311 35 35 # define fsahtw(i,j,k) rldf * aht0 36 36 #endif 37 38 !!---------------------------------------------------------------------- 39 40 #if defined key_crs 41 #if defined key_traldf_c3d 42 ! 'key_traldf_c3d' : aht: 3D coefficient 43 # define fsahtt_crs(i,j,k) rldf * ahtt_crs(i,j,k) 44 # define fsahtu_crs(i,j,k) rldf * ahtu_crs(i,j,k) * r_fact_lap_crs(i,j,k) 45 # define fsahtv_crs(i,j,k) rldf * ahtv_crs(i,j,k) 46 # define fsahtw_crs(i,j,k) rldf * ahtw_crs(i,j,k) 47 #elif defined key_traldf_c2d 48 ! 'key_traldf_c2d' : aht: 2D coefficient 49 # define fsahtt_crs(i,j,k) rldf * ahtt_crs(i,j) 50 # define fsahtu_crs(i,j,k) rldf * ahtu_crs(i,j) * r_fact_lap_crs(i,j,k) 51 # define fsahtv_crs(i,j,k) rldf * ahtv_crs(i,j) 52 # define fsahtw_crs(i,j,k) rldf * ahtw_crs(i,j) 53 #elif defined key_traldf_c1d 54 ! 'key_traldf_c1d' : aht: 1D coefficient 55 # define fsahtt_crs(i,j,k) rldf * ahtt_crs(k) 56 # define fsahtu_crs(i,j,k) rldf * ahtu_crs(k) * r_fact_lap_crs(i,j,k) 57 # define fsahtv_crs(i,j,k) rldf * ahtv_crs(k) 58 # define fsahtw_crs(i,j,k) rldf * ahtw_crs(k) 59 #else 60 ! Default option : aht: Constant coefficient 61 # define fsahtt_crs(i,j,k) rldf * aht0 62 # define fsahtu_crs(i,j,k) rldf * aht0 * r_fact_lap_crs(i,j,k) 63 # define fsahtv_crs(i,j,k) rldf * aht0 64 # define fsahtw(_crsi,j,k) rldf * aht0 65 #endif 66 #endif
Note: See TracChangeset
for help on using the changeset viewer.