Changeset 3255 for branches/2011/dev_NEMO_MERGE_2011
- Timestamp:
- 2012-01-09T16:54:41+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/DIA/diaptr.F90
r3208 r3255 97 97 !!---------------------------------------------------------------------- 98 98 INTEGER :: dia_ptr_alloc ! return value 99 INTEGER, DIMENSION( 5) :: ierr99 INTEGER, DIMENSION(6) :: ierr 100 100 !!---------------------------------------------------------------------- 101 101 ierr(:) = 0 … … 122 122 & ndex_h(jpj), ndex_h_atl_30(jpj), ndex_h_pac_30(jpj), & 123 123 & ndex_h_ind_30(jpj), ndex_h_ipc_30(jpj), Stat=ierr(5) ) 124 ! 125 ALLOCATE( btm30(jpi,jpj) , STAT=ierr(6) ) 124 126 ! 125 127 dia_ptr_alloc = MAXVAL( ierr ) … … 511 513 WHERE( sjk(:,:,jn) /= 0._wp ) r1_sjk(:,:,jn) = 1._wp / sjk(:,:,jn) 512 514 END DO 515 516 ! Initialise arrays to zero because diatpr is called before they are first calculated 517 ! Note that this means diagnostics will not be exactly correct when model run is restarted. 518 htr_adv(:) = 0._wp ; str_adv(:) = 0._wp ; htr_ldf(:) = 0._wp ; str_ldf(:) = 0._wp 513 519 514 520 #if defined key_mpp_mpi
Note: See TracChangeset
for help on using the changeset viewer.