My Project
swancom1.f90
Go to the documentation of this file.
1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 !****************************************************************
15 !
16  SUBROUTINE icett2
17 !
18 !****************************************************************
19 !
20  USE m_genarr
21  USE swcomm2
22  USE swcomm3
23  USE swcomm4
24  USE ocpcomm4
25  USE m_parall
26  USE all_vars
27  USE vars_wave
28 
29  INTEGER :: I,ISS,ID
30 
31  DO i = 1,mt
32  DO iss = 1,msc
33  DO id = 1,mdc
34  if (sice(id,iss,i)>0) then
35  ac2(id,iss,i)=ac2(id,iss,i)-sice(id,iss,i)
36  ac2(id,iss,i)=max(0.0,ac2(id,iss,i))
37  endif
38  END DO
39  END DO
40  END DO
41 
42  RETURN
43  END SUBROUTINE icett2
44 
real, dimension(:,:,:), allocatable ac2
real, dimension(:,:,:), allocatable sice
integer mdc
Definition: swmod1.f90:1672
integer msc
Definition: swmod1.f90:1673
subroutine icett2
Definition: swancom1.f90:17