- Timestamp:
- 2011-03-01T20:04:06+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/TOP_SRC/TRP/trcnxt.F90
r2610 r2636 3 3 !! *** MODULE trcnxt *** 4 4 !! Ocean passive tracers: time stepping on passives tracers 5 !!======================================================================6 5 !!====================================================================== 7 6 !! History : 7.0 ! 1991-11 (G. Madec) Original code … … 27 26 !! trc_nxt : time stepping on passive tracers 28 27 !!---------------------------------------------------------------------- 29 !! * Modules used30 28 USE oce_trc ! ocean dynamics and tracers variables 31 29 USE trc ! ocean passive tracers variables … … 43 41 PRIVATE 44 42 45 !! * Routine accessibility 46 PUBLIC trc_nxt ! routine called by step.F90 47 PUBLIC trc_nxt_alloc ! routine called by nemogcm.F90 43 PUBLIC trc_nxt ! routine called by step.F90 44 PUBLIC trc_nxt_alloc ! routine called by nemogcm.F90 48 45 49 46 REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:) :: r2dt 47 50 48 !!---------------------------------------------------------------------- 51 49 !! NEMO/TOP 3.3 , NEMO Consortium (2010) 52 50 !! $Id$ 53 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)51 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 54 52 !!---------------------------------------------------------------------- 55 56 53 CONTAINS 57 54 58 FUNCTION trc_nxt_alloc()55 INTEGER FUNCTION trc_nxt_alloc() 59 56 !!---------------------------------------------------------------------- 60 57 !! *** ROUTINE trc_nxt_alloc *** 61 58 !!---------------------------------------------------------------------- 62 INTEGER :: trc_nxt_alloc59 USE lib_mpp, ONLY: ctl_warn 63 60 !!---------------------------------------------------------------------- 64 61 ! 65 62 ALLOCATE( r2dt(jpk), Stat=trc_nxt_alloc) 66 67 IF(trc_nxt_alloc /= 0)THEN 68 CALL ctl_warn('trc_nxt_alloc : failed to allocate array.') 69 ENDIF 70 63 ! 64 IF( trc_nxt_alloc /= 0 ) CALL ctl_warn('trc_nxt_alloc : failed to allocate array') 65 ! 71 66 END FUNCTION trc_nxt_alloc 72 67
Note: See TracChangeset
for help on using the changeset viewer.