Changeset 2715 for trunk/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_if.F90
- Timestamp:
- 2011-03-30T17:58:35+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_if.F90
r2528 r2715 19 19 USE iom ! I/O manager library 20 20 USE in_out_manager ! I/O manager 21 USE lib_mpp ! MPP library 21 22 22 23 IMPLICIT NONE … … 32 33 !! NEMO/OPA 3.3 , NEMO Consortium (2010) 33 34 !! $Id$ 34 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)35 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 35 36 !!---------------------------------------------------------------------- 36 37 37 CONTAINS 38 38 … … 53 53 !! fr_i : update the ice fraction 54 54 !!--------------------------------------------------------------------- 55 INTEGER, INTENT(in) :: kt! ocean time step55 INTEGER, INTENT(in) :: kt ! ocean time step 56 56 ! 57 57 INTEGER :: ji, jj ! dummy loop indices … … 78 78 79 79 ALLOCATE( sf_ice(1), STAT=ierror ) 80 IF( ierror > 0 ) THEN 81 CALL ctl_stop( 'sbc_ice_if: unable to allocate sf_ice structure' ) ; RETURN 82 ENDIF 80 IF( ierror > 0 ) CALL ctl_stop( 'STOP', 'sbc_ice_if: unable to allocate sf_ice structure' ) 83 81 ALLOCATE( sf_ice(1)%fnow(jpi,jpj,1) ) 84 IF( sn_ice%ln_tint ) ALLOCATE( sf_ice(1)%fdta(jpi,jpj,1,2) ) 85 82 IF( sn_ice%ln_tint ) ALLOCATE( sf_ice(1)%fdta(jpi,jpj,1,2) ) 86 83 87 84 ! fill sf_ice with sn_ice and control print
Note: See TracChangeset
for help on using the changeset viewer.