Changeset 4058 for branches/2013/dev_r3996_CMCC6_topbc
- Timestamp:
- 2013-10-11T11:51:22+02:00 (11 years ago)
- Location:
- branches/2013/dev_r3996_CMCC6_topbc/NEMOGCM/NEMO/TOP_SRC
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_r3996_CMCC6_topbc/NEMOGCM/NEMO/TOP_SRC/par_trc.F90
r3680 r4058 17 17 18 18 IMPLICIT NONE 19 20 ! Passive tracers : Maximum number of tracers. Needed to define data structures 21 ! --------------- 22 INTEGER, PUBLIC, PARAMETER :: jpmaxtrc = 100 19 23 20 24 ! Passive tracers : Total size -
branches/2013/dev_r3996_CMCC6_topbc/NEMOGCM/NEMO/TOP_SRC/trcdta.F90
r4026 r4058 29 29 PUBLIC trc_dta_init ! called in trcini.F90 30 30 31 INTEGER , PARAMETER, PUBLIC :: MAXTRC=100 ! maximum number of tracers32 31 INTEGER , SAVE, PUBLIC :: nb_trcdta ! number of tracers to be initialised with data 33 32 INTEGER , SAVE, PUBLIC, ALLOCATABLE, DIMENSION(:) :: n_trc_index ! indice of tracer which is initialised with data … … 55 54 !!---------------------------------------------------------------------- 56 55 ! 57 INTEGER,INTENT(IN) :: ntrc 58 INTEGER :: jl, jn ! dummy loop indicies56 INTEGER,INTENT(IN) :: ntrc ! number of tracers 57 INTEGER :: jl, jn ! dummy loop indices 59 58 INTEGER :: ierr0, ierr1, ierr2, ierr3 ! temporary integers 60 59 CHARACTER(len=100) :: clndta, clntrc … … 62 61 ! 63 62 CHARACTER(len=100) :: cn_dir 64 TYPE(FLD_N), ALLOCATABLE, DIMENSION(:) :: slf_i 65 TYPE(FLD_N), DIMENSION( MAXTRC) :: sn_trcdta66 REAL(wp) , DIMENSION( MAXTRC) :: rn_trfac ! multiplicative factor for tracer values63 TYPE(FLD_N), ALLOCATABLE, DIMENSION(:) :: slf_i ! array of namelist informations on the fields to read 64 TYPE(FLD_N), DIMENSION(jpmaxtrc) :: sn_trcdta 65 REAL(wp) , DIMENSION(jpmaxtrc) :: rn_trfac ! multiplicative factor for tracer values 67 66 !! 68 67 NAMELIST/namtrc_dta/ sn_trcdta, cn_dir, rn_trfac … … 150 149 ENDIF 151 150 ! 151 DEALLOCATE( slf_i ) ! deallocate local field structure 152 152 IF( nn_timing == 1 ) CALL timing_stop('trc_dta_init') 153 153 !
Note: See TracChangeset
for help on using the changeset viewer.