Changeset 2715 for trunk/NEMOGCM/NEMO/TOP_SRC/MY_TRC/trcini_my_trc.F90
- Timestamp:
- 2011-03-30T17:58:35+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/TOP_SRC/MY_TRC/trcini_my_trc.F90
r2528 r2715 24 24 !! NEMO/TOP 3.3 , NEMO Consortium (2010) 25 25 !! $Id$ 26 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)26 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 27 27 !!---------------------------------------------------------------------- 28 29 28 CONTAINS 30 29 … … 38 37 !!---------------------------------------------------------------------- 39 38 40 ! Control consitency 41 CALL trc_ctl_my_trc 39 ! ! Allocate MY_TRC arrays 40 IF( sms_lobster_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'trc_ini_my_trc: unable to allocate MY_TRC arrays' ) 41 42 CALL trc_ctl_my_trc ! Control consitency 42 43 43 44 IF(lwp) WRITE(numout,*) … … 46 47 47 48 IF( .NOT. ln_rsttr ) trn(:,:,:,jp_myt0:jp_myt1) = 0. 48 49 49 ! 50 50 END SUBROUTINE trc_ini_my_trc 51 51 52 52 53 SUBROUTINE trc_ctl_my_trc 53 54 !!---------------------------------------------------------------------- … … 56 57 !! ** Purpose : control the cpp options, namelist and files 57 58 !!---------------------------------------------------------------------- 58 59 59 INTEGER :: jl, jn 60 60 !!---------------------------------------------------------------------- 61 ! 61 62 IF(lwp) WRITE(numout,*) 62 63 IF(lwp) WRITE(numout,*) ' use COLOR tracer ' 63 64 ! 64 65 DO jl = 1, jp_my_trc 65 66 jn = jp_myt0 + jl - 1 66 WRITE( ctrcnm(jn),'(a,i2.2)') 'CLR',jn67 WRITE( ctrcnm(jn),'(a,i2.2)' ) 'CLR', jn 67 68 ctrcnl(jn)='Color concentration' 68 69 ctrcun(jn)='N/A' 69 70 END DO 70 71 71 ! 72 72 END SUBROUTINE trc_ctl_my_trc 73 73
Note: See TracChangeset
for help on using the changeset viewer.