WAVEWATCH III  beta 0.0.1
w3iogomd.F90 File Reference

Gridded output of mean wave parameters. More...

Go to the source code of this file.

Modules

module  w3iogomd
 Gridded output of mean wave parameters.
 

Functions/Subroutines

subroutine w3iogomd::w3flgrdupdt (NDSO, NDSEN, FLGRD, FLGR2, FLGD, FLG2)
 Updates the flags for output parameters based on the mod_def file this is to prevent the allocation of big 3D arrays when not requested. More...
 
subroutine w3iogomd::w3readflgrd (NDSI, NDSO, NDSS, NDSEN, COMSTR, FLG1D, FLG2D, IAPROC, NAPOUT, IERR)
 Fills in FLG1D and FLG2D arrays from ASCII input file. More...
 
subroutine w3iogomd::w3flgrdflag (NDSO, NDSS, NDSEN, FLDOUT, FLG1D, FLG2D, IAPROC, NAPOUT, IERR)
 Fills in FLG1D and FLG2D arrays from ASCII input file. More...
 
subroutine w3iogomd::w3fldtoij (FLD, I, J, IAPROC, NAPOUT, NDSEN)
 Returns the group/field (I/J) indices for a named output field. More...
 
subroutine w3iogomd::w3outg (A, FLPART, FLOUTG, FLOUTG2)
 Fill necessary arrays with gridded data for output. More...
 
subroutine w3iogomd::w3iogo (INXOUT, NDSOG, IOTST, IMOD ifdef W3_ASCII
 Read/write gridded output. More...
 
subroutine w3iogomd::calc_u3stokes (A, USS_SWITCH)
 Output Stokes drift related parameters. More...
 
subroutine w3iogomd::calc_wbt (A)
 Estimate the dominant wave breaking probability b_T. More...
 
subroutine w3iogomd::secondhh (NKHF, FAC0, FAC1, FAC2, FAC3)
 Computation of second order harmonics and relevant tables for the altimeter corrections. More...
 
real(kind=4) function vmin_d (XI, XJ, XK, XIJ, XIK, XJK, XOI, XOJ, XOK)
 
real(kind=4) function vplus_d (XI, XJ, XK, XIJ, XIK, XJK, XOI, XOJ, XOK)
 
subroutine w3iogomd::skewness (A)
 Determines skewness paramters in order to obtain correction on altimeter wave height. More...
 

Variables

character(len=1024) w3iogomd::fldout
 

Detailed Description

Gridded output of mean wave parameters.

Author
H. L. Tolman
Date
22-Mar-2021

Definition in file w3iogomd.F90.

Function/Subroutine Documentation

◆ vmin_d()

real(kind=4) function secondhh::vmin_d ( real, intent(in)  XI,
real, intent(in)  XJ,
real, intent(in)  XK,
real, intent(in)  XIJ,
real, intent(in)  XIK,
real, intent(in)  XJK,
real, intent(in)  XOI,
real, intent(in)  XOJ,
real, intent(in)  XOK 
)

Definition at line 4855 of file w3iogomd.F90.

4855 
4856 ! PETER JANSSEN
4857 
4858 ! PURPOSE.
4859 ! --------
4860 
4861 ! GIVES NONLINEAR TRANSFER COEFFICIENT FOR THREE
4862 ! WAVE INTERACTIONS OF DEEP-WATER WAVES IN THE
4863 ! IDEAL CASE OF NO CURRENT. (CF.ZAKHAROV)
4864 
4865 ! INTERFACE.
4866 ! ----------
4867 ! *VMIN_D(XI,XJ,XK)*
4868 ! *XI* - WAVE NUMBER
4869 ! *XJ* - WAVE NUMBER
4870 ! *XK* - WAVE NUMBER
4871 ! METHOD.
4872 ! -------
4873 ! NONE
4874 
4875 ! EXTERNALS.
4876 ! ----------
4877 ! NONE.
4878 
4879 
4880 !*** 1. DETERMINE NONLINEAR TRANSFER.
4881 ! --------------------------------
4882  IMPLICIT NONE
4883  REAL, INTENT(IN) :: XI, XJ, XK, XIJ, XIK, XJK, XOI, XOJ, XOK
4884  REAL :: RI, RJ, RK, OI, OJ, OK, SQIJK, SQIKJ, SQJKI
4885 
4886  ri=abs(xi)+del1
4887  rj=abs(xj)+del1
4888  rk=abs(xk)+del1
4889  oi=xoi+del1
4890  oj=xoj+del1
4891  ok=xok+del1
4892  sqijk=sqrt(oi*oj*rk/(ok*ri*rj))
4893  sqikj=sqrt(oi*ok*rj/(oj*ri*rk))
4894  sqjki=sqrt(oj*ok*ri/(oi*rj*rk))
4895  vmin_d=zconst*( (xij-ri*rj)*sqijk + (xik-ri*rk)*sqikj &
4896  & + (xjk+rj*rk)*sqjki )
4897 

References vplus_d().

Referenced by w3iogomd::secondhh().

◆ vplus_d()

real(kind=4) function secondhh::vplus_d ( real, intent(in)  XI,
real, intent(in)  XJ,
real, intent(in)  XK,
real, intent(in)  XIJ,
real, intent(in)  XIK,
real, intent(in)  XJK,
real, intent(in)  XOI,
real, intent(in)  XOJ,
real, intent(in)  XOK 
)

Definition at line 4903 of file w3iogomd.F90.

4903 
4904 !*** *VPLUS_D* DETERMINES THE NONLINEAR TRANSFER COEFFICIENT FOR THREE
4905 ! WAVE INTERACTIONS OF DEEP-WATER WAVES.
4906 
4907 ! PETER JANSSEN
4908 
4909 ! PURPOSE.
4910 ! --------
4911 
4912 ! GIVES NONLINEAR TRANSFER COEFFICIENT FOR THREE
4913 ! WAVE INTERACTIONS OF GRAVITY-CAPILLARY WAVES IN THE
4914 ! IDEAL CASE OF NO CURRENT. (CF.ZAKHAROV)
4915 
4916 ! INTERFACE.
4917 ! ----------
4918 ! *VPLUS_D(XI,XJ,XK)*
4919 ! *XI* - WAVE NUMBER
4920 ! *XJ* - WAVE NUMBER
4921 ! *XK* - WAVE NUMBER
4922 ! METHOD.
4923 ! -------
4924 ! NONE
4925 
4926 ! EXTERNALS.
4927 ! ----------
4928 ! NONE.
4929 
4930 
4931 
4932 !*** 1. DETERMINE NONLINEAR TRANSFER.
4933 ! --------------------------------
4934 
4935  IMPLICIT NONE
4936  REAL, INTENT(IN) :: XI, XJ, XK, XIJ, XIK, XJK, XOI, XOJ, XOK
4937  REAL :: RI, RJ, RK, OI, OJ, OK, SQIJK, SQIKJ, SQJKI
4938 
4939  ri=abs(xi)+del1
4940  rj=abs(xj)+del1
4941  rk=abs(xk)+del1
4942  oi=xoi+del1
4943  oj=xoj+del1
4944  ok=xok+del1
4945  sqijk=sqrt(oi*oj*rk/(ok*ri*rj))
4946  sqikj=sqrt(oi*ok*rj/(oj*ri*rk))
4947  sqjki=sqrt(oj*ok*ri/(oi*rj*rk))
4948  vplus_d=zconst*( (xij+ri*rj)*sqijk + (xik+ri*rk)*sqikj &
4949  & + (xjk+rj*rk)*sqjki )
4950 

Referenced by w3iogomd::secondhh(), and vmin_d().

vmin_d
real(kind=4) function vmin_d(XI, XJ, XK, XIJ, XIK, XJK, XOI, XOJ, XOK)
Definition: w3iogomd.F90:4855
vplus_d
real(kind=4) function vplus_d(XI, XJ, XK, XIJ, XIK, XJK, XOI, XOJ, XOK)
Definition: w3iogomd.F90:4903