Go to the documentation of this file.
93 SUBROUTINE w3sic1 (A, DEPTH, CG, IX, IY, S, D)
261 REAL,
INTENT(IN) :: cg(
nk), a(
nspec), depth
263 INTEGER,
INTENT(IN) :: ix, iy
269 INTEGER,
SAVE :: ient = 0
277 REAL :: icecoef1, icecoef2, icecoef3, &
279 REAL,
ALLOCATABLE :: wn_i(:)
284 CALL strace (ient,
'W3SIC1')
300 WRITE (ndse,1001)
'ICE PARAMETER 1'
304 icecoef1 = icep1(ix,iy)
309 IF ( icecoef1==0. )
THEN
320 WRITE (
ndst,9000) depth,icecoef1,icecoef2,icecoef3,icecoef4
329 d1d(ik) = -2. * cg(ik) * wn_i(ik)
335 d(ikth) = d1d(
mapwn(ikth))
347 dout(ik,ith) = d(ith+(ik-1)*
nth)
351 0.0, 0.001,
'Diag Sice',
' ',
'NONAME')
360 1001
FORMAT (/
' *** WAVEWATCH III ERROR IN W3SIC1 : '/ &
361 ' ',a,
' REQUIRED BUT NOT SELECTED'/)
364 9000
FORMAT (
' TEST W3SIC1 : DEPTH,ICECOEF1 : ',2e10.3)
logical, dimension(:), pointer inflags2
real, dimension(:), pointer sig
subroutine outmat(NDS, A, MX, NX, NY, MNAME)
real, parameter tpi
TPI 2*Pi.
subroutine strace(IENT, SNAME)
Define data structures to set up wave model input data for several models simultaneously.
integer, dimension(:), pointer mapwn
Define some much-used constants for global use (all defined as PARAMETER).
subroutine extcde(IEXIT, UNIT, MSG, FILE, LINE, COMM)
subroutine prt2ds(NDS, NFR0, NFR, NTH, E, FR, UFR, FACSP, FSC, RRCUT, PRVAR, PRUNIT, PNTNME)
Calculate ice source term S_{ice} according to simple methods.
subroutine, public w3sic1(A, DEPTH, CG, IX, IY, S, D)
S_{ice} source term using 5 parameters read from input files.