Changeset 113 for trunk/NEMO/OPA_SRC/LDF
- Timestamp:
- 2004-06-28T16:43:28+02:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/LDF/ldftra_c2d.h90
r3 r113 35 35 INTEGER :: i1, i2, j1, j2 36 36 # endif 37 REAL(wp) :: za00, zdx_max 38 37 39 !!---------------------------------------------------------------------- 38 40 … … 49 51 ENDIF 50 52 51 53 zdx_max = MAXVAL( e1t(:,:) ) 54 IF( lk_mpp ) CALL mpp_max( zdx_max ) ! max over the global domain 55 52 56 ! biharmonic operator : (T-point) 53 57 ! ==================== 58 ! Here: ahtt is proportional to the cube of the maximum of the gridspacing 59 ! in the to horizontal direction 60 61 za00 = aht0 / ( zdx_max * zdx_max * zdx_max ) 54 62 55 ahtt(:,:) = aht0 ! set ahtt at T-point (here no space variation)63 ahtt(:,:) = za00 * e1t(:,:) * e1t(:,:) *e1t(:,:) ! set ahtt at T-point 56 64 57 65 CALL lbc_lnk( ahtt, 'T', 1. ) ! Lateral boundary conditions on ( ahtt ) … … 69 77 ! ================== 70 78 71 ahtu(:,:) = aht0 ! set ahtu = ahtv at u- and v-points, 72 ahtv(:,:) = aht0 ! and ahtw at w-point (idem T-point) 73 ahtw(:,:) = aht0 ! (here no space variation) 79 za00 = aht0 / zdx_max 80 81 ahtu(:,:) = za00 * e1u(:,:) ! set ahtu = ahtv at u- and v-points, 82 ahtv(:,:) = za00 * e1f(:,:) ! and ahtw at w-point (idem T-point) 83 ahtw(:,:) = za00 * e1t(:,:) ! 74 84 75 85 CALL lbc_lnk( ahtu, 'U', 1. ) ! Lateral boundary conditions
Note: See TracChangeset
for help on using the changeset viewer.