- Timestamp:
- 2012-02-25T16:50:01+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_r3309_LOCEAN12_Ediag/NEMOGCM/NEMO/TOP_SRC/TRP/trcsbc.F90
r3294 r3318 4 4 !! Ocean passive tracers: surface boundary condition 5 5 !!====================================================================== 6 !! History : 8.2 ! 1998-10 (G. Madec, G. Roullet, M. Imbard) Original code 7 !! 8.2 ! 2001-02 (D. Ludicone) sea ice and free surface 8 !! 8.5 ! 2002-06 (G. Madec) F90: Free form and module 9 !! 9.0 ! 2004-03 (C. Ethe) adapted for passive tracers 10 !! ! 2006-08 (C. Deltel) Diagnose ML trends for passive tracers 6 !! History : 1.0 ! 2004-03 (C. Ethe) adapt trasbc to passive tracers 7 !! 2.0 ! 2006-08 (C. Deltel) Diagnose ML trends for passive tracers 11 8 !!============================================================================== 12 9 #if defined key_top … … 19 16 USE trc ! ocean passive tracers variables 20 17 USE prtctl_trc ! Print control for debbuging 21 USE trd mod_oce22 USE trdtra 18 USE trd_oce ! trends: ocean variables 19 USE trdtra ! trends: tracer manager 23 20 24 21 IMPLICIT NONE … … 44 41 !! trend of tracer equations. 45 42 !! 46 !! ** Method : 47 !! * concentration/dilution effect: 43 !! ** Method : concentration/dilution effect: 48 44 !! The surface freshwater flux modify the ocean volume 49 45 !! and thus the concentration of a tracer as : … … 55 51 !! ** Action : - Update the 1st level of tra with the trend associated 56 52 !! with the tracer surface boundary condition 57 !!58 53 !!---------------------------------------------------------------------- 54 INTEGER, INTENT( in ) :: kt ! ocean time-step index 59 55 ! 60 INTEGER, INTENT( in ) :: kt ! ocean time-step index 61 ! 62 INTEGER :: ji, jj, jn ! dummy loop indices 56 INTEGER :: ji, jj, jn ! dummy loop indices 63 57 REAL(wp) :: zsrau, zse3t ! temporary scalars 64 CHARACTER (len=22) :: charout65 REAL(wp), POINTER, DIMENSION(:,: ) :: zemps66 REAL(wp), POINTER, DIMENSION(:,:,:) :: ztrtrd58 CHARACTER (len=22) :: charout 59 REAL(wp), POINTER, DIMENSION(:,: ) :: zemps ! 2D workspace 60 REAL(wp), POINTER, DIMENSION(:,:,:) :: ztrtrd ! 3D workspace 67 61 !!--------------------------------------------------------------------- 68 62 ! … … 108 102 IF( l_trdtrc ) THEN 109 103 ztrtrd(:,:,:) = tra(:,:,:,jn) - ztrtrd(:,:,:) 110 CALL trd_tra( kt, 'TRC', jn, jptra_ trd_nsr, ztrtrd )104 CALL trd_tra( kt, 'TRC', jn, jptra_nsr, ztrtrd ) 111 105 END IF 112 106 ! ! ===========
Note: See TracChangeset
for help on using the changeset viewer.