My Project
Functions/Subroutines
swancom1.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine icett2
 

Function/Subroutine Documentation

◆ icett2()

subroutine icett2 ( )

Definition at line 17 of file swancom1.f90.

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
integer mt
Definition: mod_main.f90:78
real, dimension(:,:,:), allocatable ac2
real, dimension(:,:,:), allocatable sice
integer mdc
Definition: swmod1.f90:1672
integer msc
Definition: swmod1.f90:1673