Changeset 2909
- Timestamp:
- 2011-10-13T07:59:18+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/dev_r2802_MERCATOR10_diadct/NEMOGCM/NEMO/OPA_SRC/DIA/diadct.F90
r2908 r2909 897 897 ENDIF 898 898 !temperature classes transports 899 IF( ( sec%ztem(jcl +1) .NE. 99._wp ) .AND. &899 IF( ( sec%ztem(jcl) .NE. 99._wp ) .AND. & 900 900 ( sec%ztem(jcl+1) .NE. 99._wp ) ) THEN 901 901 classe = 'T ' … … 991 991 !!K-1 | ptab(I,J,K-1) | | interpolation between zbis and ptab(I+1,J,K) 992 992 !! | . | | 993 !! | . | | Z= ( 0.5*zet2*zbis + 0.5*zet1*ptab(I+1,J,K) )/(0.5*zet2+0.5*zet1)993 !! | . | | interp = ( 0.5*zet2*zbis + 0.5*zet1*ptab(I+1,J,K) )/(0.5*zet2+0.5*zet1) 994 994 !! | . | | 995 995 !! ------------------------------------------ … … 997 997 !! | . | | 998 998 !! | . | | 999 !!K | zbis...... U..ptab(I+1,J,K) |999 !!K | zbis.......U...ptab(I+1,J,K) | 1000 1000 !! | . | | 1001 1001 !! | ptab(I,J,K) | | … … 1009 1009 !! ====> s-coordinate 1010 1010 !! 1011 !! | | | 1. Compute distance between T1 and U points 1012 !! | | | Compute distance between T2 and U points 1011 !! | | | 1. Compute distance between T1 and U points: SQRT( zdep1^2 + (0.5 * zet1 )^2 1012 !! | | | Compute distance between T2 and U points: SQRT( zdep2^2 + (0.5 * zet2 )^2 1013 1013 !! | | ptab(I+1,J,K) | 1014 1014 !! | | T2 | 2. Interpolation between T1 and T2 values at U point … … 1063 1063 zdep2 = fsdept(ii2,ij2,kk) - zdepu 1064 1064 1065 !weights 1065 1066 zwgt1 = SQRT( ( 0.5 * zet1 ) * ( 0.5 * zet1 ) + ( zdep1 * zdep1 ) ) 1066 1067 zwgt2 = SQRT( ( 0.5 * zet2 ) * ( 0.5 * zet2 ) + ( zdep2 * zdep2 ) )
Note: See TracChangeset
for help on using the changeset viewer.