\hypertarget{classwave__boundary__update__module}{\section{wave\-\_\-boundary\-\_\-update\-\_\-module \-Module \-Reference}
\label{classwave__boundary__update__module}\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
}
\subsection*{\-Data \-Types}
\begin{DoxyCompactItemize}
\item 
type \hyperlink{structwave__boundary__update__module_1_1shortspectrum}{shortspectrum}
\item 
type \hyperlink{structwave__boundary__update__module_1_1spectrum}{spectrum}
\item 
type \hyperlink{structwave__boundary__update__module_1_1waveparamsnew}{waveparamsnew}
\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
subroutine, public \hyperlink{classwave__boundary__update__module_a16083edad0af8a520cc3eeabc046d00a}{generate\-\_\-wave\-\_\-boundary\-\_\-surfbeat} (durationlength)
\item 
subroutine \hyperlink{classwave__boundary__update__module_a1f7e35abd0d9c4c0b187696002c1a4c6}{read\-\_\-spectrum\-\_\-input} (wp, fn, specin)
\item 
subroutine \hyperlink{classwave__boundary__update__module_a682ee87f23d9e0e4e5619f60c436a3f2}{read\-\_\-jonswap\-\_\-file} (par, wp, readfile, listline, specin)
\item 
subroutine \hyperlink{classwave__boundary__update__module_a5bc7d87300fd79711879398f94cd8d46}{jonswapgk} (x, gam, y)
\item 
subroutine \hyperlink{classwave__boundary__update__module_a3de9d3cb05e0a95231de57375718a601}{read\-\_\-vardens\-\_\-file} (par, readfile, specin)
\item 
subroutine \hyperlink{classwave__boundary__update__module_ae2d9744d91d10c8ab02ec7e4255c8425}{interpolate\-\_\-spectrum} (specin, specinterp, par, fmax)
\item 
subroutine \hyperlink{classwave__boundary__update__module_abd084d6776d32cef09b3bee71c5cb0a7}{set\-\_\-repeatwbc}
\item 
subroutine \hyperlink{classwave__boundary__update__module_ac9e1c7b1b8012948f17f61422ed291f1}{tp\-Dcalc} (\-Sf, f, \-Trep, trepfac, switch)
\item 
subroutine \hyperlink{classwave__boundary__update__module_ab59aa2224e1035323d13e3c933e4f665}{generate\-\_\-wave\-\_\-time\-\_\-axis} (wp)
\item 
subroutine \hyperlink{classwave__boundary__update__module_abfca894c2cf81454e1b7e6407b8dfde2}{generate\-\_\-wave\-\_\-train\-\_\-variance} (wp, specinterp)
\item 
subroutine \hyperlink{classwave__boundary__update__module_a858c0cdca5cc0cb6d3b1a6c1a673860b}{generate\-\_\-wave\-\_\-train\-\_\-properties\-\_\-per\-\_\-offshore\-\_\-point} (wp, s)
\item 
subroutine \hyperlink{classwave__boundary__update__module_a376b20d0e27c997c3133f09ffecb8ada}{generate\-\_\-wave\-\_\-train\-\_\-\-Fourier} (wp)
\item 
subroutine \hyperlink{classwave__boundary__update__module_a779e12da663ad9c5df6ab9c505424878}{distribute\-\_\-wave\-\_\-train\-\_\-directions} (wp, nspr)
\item 
subroutine \hyperlink{classwave__boundary__update__module_abf4ffa23c6ce2aa451960820a63f7225}{generate\-\_\-ebcf} (wp)
\item 
subroutine \hyperlink{classwave__boundary__update__module_abce2d0758a1fbc8c700f1018d80545b4}{generate\-\_\-swts} (wp)
\item 
subroutine \hyperlink{classwave__boundary__update__module_a178b2db870cbd999305ed8e4b1db0fb3}{generate\-\_\-qbcf} (wp)
\item 
subroutine \hyperlink{classwave__boundary__update__module_a873d77631d27553e2b70d4d4e8528b35}{generate\-\_\-nhtimeseries\-\_\-file} (wp)
\end{DoxyCompactItemize}
\subsection*{\-Private \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
subroutine \hyperlink{classwave__boundary__update__module_ab5b5100ab2b89fd4f982d7552b22857a}{read\-\_\-swan\-\_\-file} (par, readfile, specin)
\item 
subroutine \hyperlink{classwave__boundary__update__module_a7733ddcad14f14bc8d8e11a2601583ec}{set\-\_\-bcfilenames} (wp)
\item 
subroutine \hyperlink{classwave__boundary__update__module_aaeef560ab591f6dbba9bd20ae846d629}{generate\-\_\-combined\-\_\-spectrum} (specinterp, combspec)
\item 
subroutine \hyperlink{classwave__boundary__update__module_ae4957a7ad9dc3602eb0f2995bc525e26}{generate\-\_\-wavetrain\-\_\-components} (combspec, wp)
\item 
subroutine \hyperlink{classwave__boundary__update__module_a632d04aed24044a1cbf540896e0aef61}{frange} (f, \-Sf, fmax, firstp, lastp, findlineout)
\end{DoxyCompactItemize}
\subsection*{\-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
integer, parameter \hyperlink{classwave__boundary__update__module_a630fa777235fa48eb36e8c1b3de1710c}{nfint} = 801
\item 
integer, parameter \hyperlink{classwave__boundary__update__module_ac9e62f819b53121045439337b2edc3d3}{naint} = 401
\item 
integer, parameter \hyperlink{classwave__boundary__update__module_a52481b988b02e0f6dc154307327ec0d7}{\-Kmin} = 200
\item 
real $\ast$8, parameter \hyperlink{classwave__boundary__update__module_a63ca71e8f24c6a188d2eacdb73654798}{wdmax} = 5.d0
\item 
integer \hyperlink{classwave__boundary__update__module_a017ec130d97607d2786d74fd7db58dac}{nspectra}
\item 
integer \hyperlink{classwave__boundary__update__module_aa46f964a5cf334f6ecbc6b4fcb3e8c24}{bccount}
\item 
integer \hyperlink{classwave__boundary__update__module_aaeb1205d5a35b3811c23b4a384328fe3}{npb}
\item 
real $\ast$8 \hyperlink{classwave__boundary__update__module_a408dd34580fbaf98626d3f8a7291ba09}{hb0}
\item 
real $\ast$8, parameter \hyperlink{classwave__boundary__update__module_a8bb90d2022a5c261597ebdbf6a841aa5}{par\-\_\-pi} = 4.d0$\ast$atan(1.d0)
\item 
real $\ast$8, parameter \hyperlink{classwave__boundary__update__module_a9dc3c07fa112a64bc1e75c06e4e9573f}{par\-\_\-g} = 9.\-81d0
\item 
complex(kind(0.\-0d0)), parameter \hyperlink{classwave__boundary__update__module_a7c5f8775195f27f0e040a02965adde83}{par\-\_\-compi} = (0.\-0d0, 1.\-0d0)
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}


\-Definition at line 1 of file wave\-\_\-boundary\-\_\-update.\-f90.



\subsection{\-Member \-Function/\-Subroutine \-Documentation}
\hypertarget{classwave__boundary__update__module_a779e12da663ad9c5df6ab9c505424878}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!distribute\-\_\-wave\-\_\-train\-\_\-directions@{distribute\-\_\-wave\-\_\-train\-\_\-directions}}
\index{distribute\-\_\-wave\-\_\-train\-\_\-directions@{distribute\-\_\-wave\-\_\-train\-\_\-directions}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{distribute\-\_\-wave\-\_\-train\-\_\-directions}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::distribute\-\_\-wave\-\_\-train\-\_\-directions} (
\begin{DoxyParamCaption}
\item[{type({\bf waveparamsnew}), intent(inout)}]{wp, }
\item[{integer, intent(in)}]{nspr}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_a779e12da663ad9c5df6ab9c505424878}


\-Definition at line 2035 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a632d04aed24044a1cbf540896e0aef61}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!frange@{frange}}
\index{frange@{frange}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{frange}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::frange} (
\begin{DoxyParamCaption}
\item[{real$\ast$8, dimension(\-:), intent(in)}]{f, }
\item[{real$\ast$8, dimension(\-:), intent(in)}]{\-Sf, }
\item[{real$\ast$8, intent(in)}]{fmax, }
\item[{integer, intent(out)}]{firstp, }
\item[{integer, intent(out)}]{lastp, }
\item[{real$\ast$8, dimension(\-:), intent(out), optional, allocatable}]{findlineout}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_a632d04aed24044a1cbf540896e0aef61}


\-Definition at line 1682 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_aaeef560ab591f6dbba9bd20ae846d629}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!generate\-\_\-combined\-\_\-spectrum@{generate\-\_\-combined\-\_\-spectrum}}
\index{generate\-\_\-combined\-\_\-spectrum@{generate\-\_\-combined\-\_\-spectrum}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{generate\-\_\-combined\-\_\-spectrum}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::generate\-\_\-combined\-\_\-spectrum} (
\begin{DoxyParamCaption}
\item[{type({\bf spectrum}), dimension({\bf nspectra}), intent(in)}]{specinterp, }
\item[{type({\bf spectrum}), intent(inout)}]{combspec}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_aaeef560ab591f6dbba9bd20ae846d629}


\-Definition at line 1410 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_abf4ffa23c6ce2aa451960820a63f7225}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!generate\-\_\-ebcf@{generate\-\_\-ebcf}}
\index{generate\-\_\-ebcf@{generate\-\_\-ebcf}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{generate\-\_\-ebcf}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::generate\-\_\-ebcf} (
\begin{DoxyParamCaption}
\item[{type({\bf waveparamsnew}), intent(inout)}]{wp}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_abf4ffa23c6ce2aa451960820a63f7225}


\-Definition at line 2142 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a873d77631d27553e2b70d4d4e8528b35}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!generate\-\_\-nhtimeseries\-\_\-file@{generate\-\_\-nhtimeseries\-\_\-file}}
\index{generate\-\_\-nhtimeseries\-\_\-file@{generate\-\_\-nhtimeseries\-\_\-file}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{generate\-\_\-nhtimeseries\-\_\-file}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::generate\-\_\-nhtimeseries\-\_\-file} (
\begin{DoxyParamCaption}
\item[{type({\bf waveparamsnew}), intent(inout)}]{wp}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_a873d77631d27553e2b70d4d4e8528b35}


\-Definition at line 2735 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a178b2db870cbd999305ed8e4b1db0fb3}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!generate\-\_\-qbcf@{generate\-\_\-qbcf}}
\index{generate\-\_\-qbcf@{generate\-\_\-qbcf}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{generate\-\_\-qbcf}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::generate\-\_\-qbcf} (
\begin{DoxyParamCaption}
\item[{type({\bf waveparamsnew}), intent(inout)}]{wp}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_a178b2db870cbd999305ed8e4b1db0fb3}


\-Definition at line 2460 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_abce2d0758a1fbc8c700f1018d80545b4}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!generate\-\_\-swts@{generate\-\_\-swts}}
\index{generate\-\_\-swts@{generate\-\_\-swts}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{generate\-\_\-swts}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::generate\-\_\-swts} (
\begin{DoxyParamCaption}
\item[{type({\bf waveparamsnew}), intent(inout)}]{wp}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_abce2d0758a1fbc8c700f1018d80545b4}


\-Definition at line 2376 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a16083edad0af8a520cc3eeabc046d00a}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!generate\-\_\-wave\-\_\-boundary\-\_\-surfbeat@{generate\-\_\-wave\-\_\-boundary\-\_\-surfbeat}}
\index{generate\-\_\-wave\-\_\-boundary\-\_\-surfbeat@{generate\-\_\-wave\-\_\-boundary\-\_\-surfbeat}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{generate\-\_\-wave\-\_\-boundary\-\_\-surfbeat}]{\setlength{\rightskip}{0pt plus 5cm}subroutine, public {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::generate\-\_\-wave\-\_\-boundary\-\_\-surfbeat} (
\begin{DoxyParamCaption}
\item[{real$\ast$8, intent(out)}]{durationlength}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_a16083edad0af8a520cc3eeabc046d00a}


\-Definition at line 73 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_ab59aa2224e1035323d13e3c933e4f665}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!generate\-\_\-wave\-\_\-time\-\_\-axis@{generate\-\_\-wave\-\_\-time\-\_\-axis}}
\index{generate\-\_\-wave\-\_\-time\-\_\-axis@{generate\-\_\-wave\-\_\-time\-\_\-axis}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{generate\-\_\-wave\-\_\-time\-\_\-axis}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::generate\-\_\-wave\-\_\-time\-\_\-axis} (
\begin{DoxyParamCaption}
\item[{type({\bf waveparamsnew}), intent(inout)}]{wp}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_ab59aa2224e1035323d13e3c933e4f665}


\-Definition at line 1727 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a376b20d0e27c997c3133f09ffecb8ada}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!generate\-\_\-wave\-\_\-train\-\_\-\-Fourier@{generate\-\_\-wave\-\_\-train\-\_\-\-Fourier}}
\index{generate\-\_\-wave\-\_\-train\-\_\-\-Fourier@{generate\-\_\-wave\-\_\-train\-\_\-\-Fourier}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{generate\-\_\-wave\-\_\-train\-\_\-\-Fourier}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::generate\-\_\-wave\-\_\-train\-\_\-\-Fourier} (
\begin{DoxyParamCaption}
\item[{type({\bf waveparamsnew}), intent(inout)}]{wp}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_a376b20d0e27c997c3133f09ffecb8ada}


\-Definition at line 1969 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a858c0cdca5cc0cb6d3b1a6c1a673860b}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!generate\-\_\-wave\-\_\-train\-\_\-properties\-\_\-per\-\_\-offshore\-\_\-point@{generate\-\_\-wave\-\_\-train\-\_\-properties\-\_\-per\-\_\-offshore\-\_\-point}}
\index{generate\-\_\-wave\-\_\-train\-\_\-properties\-\_\-per\-\_\-offshore\-\_\-point@{generate\-\_\-wave\-\_\-train\-\_\-properties\-\_\-per\-\_\-offshore\-\_\-point}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{generate\-\_\-wave\-\_\-train\-\_\-properties\-\_\-per\-\_\-offshore\-\_\-point}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::generate\-\_\-wave\-\_\-train\-\_\-properties\-\_\-per\-\_\-offshore\-\_\-point} (
\begin{DoxyParamCaption}
\item[{type({\bf waveparamsnew}), intent(inout)}]{wp, }
\item[{type(spacepars), intent(in)}]{s}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_a858c0cdca5cc0cb6d3b1a6c1a673860b}


\-Definition at line 1864 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_abfca894c2cf81454e1b7e6407b8dfde2}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!generate\-\_\-wave\-\_\-train\-\_\-variance@{generate\-\_\-wave\-\_\-train\-\_\-variance}}
\index{generate\-\_\-wave\-\_\-train\-\_\-variance@{generate\-\_\-wave\-\_\-train\-\_\-variance}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{generate\-\_\-wave\-\_\-train\-\_\-variance}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::generate\-\_\-wave\-\_\-train\-\_\-variance} (
\begin{DoxyParamCaption}
\item[{type({\bf waveparamsnew}), intent(inout)}]{wp, }
\item[{type({\bf spectrum}), dimension({\bf nspectra}), intent(in)}]{specinterp}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_abfca894c2cf81454e1b7e6407b8dfde2}


\-Definition at line 1811 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_ae4957a7ad9dc3602eb0f2995bc525e26}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!generate\-\_\-wavetrain\-\_\-components@{generate\-\_\-wavetrain\-\_\-components}}
\index{generate\-\_\-wavetrain\-\_\-components@{generate\-\_\-wavetrain\-\_\-components}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{generate\-\_\-wavetrain\-\_\-components}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::generate\-\_\-wavetrain\-\_\-components} (
\begin{DoxyParamCaption}
\item[{type({\bf spectrum}), intent(in)}]{combspec, }
\item[{type({\bf waveparamsnew}), intent(inout)}]{wp}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_ae4957a7ad9dc3602eb0f2995bc525e26}


\-Definition at line 1494 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_ae2d9744d91d10c8ab02ec7e4255c8425}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!interpolate\-\_\-spectrum@{interpolate\-\_\-spectrum}}
\index{interpolate\-\_\-spectrum@{interpolate\-\_\-spectrum}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{interpolate\-\_\-spectrum}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::interpolate\-\_\-spectrum} (
\begin{DoxyParamCaption}
\item[{type({\bf spectrum}), intent(in)}]{specin, }
\item[{type({\bf spectrum}), intent(inout)}]{specinterp, }
\item[{type(parameters), intent(in)}]{par, }
\item[{real$\ast$8, intent(in)}]{fmax}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_ae2d9744d91d10c8ab02ec7e4255c8425}


\-Definition at line 1252 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a5bc7d87300fd79711879398f94cd8d46}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!jonswapgk@{jonswapgk}}
\index{jonswapgk@{jonswapgk}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{jonswapgk}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::jonswapgk} (
\begin{DoxyParamCaption}
\item[{real$\ast$8, dimension(\-:), intent(in)}]{x, }
\item[{real$\ast$8, intent(in)}]{gam, }
\item[{real$\ast$8, dimension(\-:), intent(inout)}]{y}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_a5bc7d87300fd79711879398f94cd8d46}


\-Definition at line 769 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a682ee87f23d9e0e4e5619f60c436a3f2}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!read\-\_\-jonswap\-\_\-file@{read\-\_\-jonswap\-\_\-file}}
\index{read\-\_\-jonswap\-\_\-file@{read\-\_\-jonswap\-\_\-file}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{read\-\_\-jonswap\-\_\-file}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::read\-\_\-jonswap\-\_\-file} (
\begin{DoxyParamCaption}
\item[{type(parameters), intent(in)}]{par, }
\item[{type({\bf waveparamsnew}), intent(inout)}]{wp, }
\item[{character(len=$\ast$), intent(in)}]{readfile, }
\item[{integer, intent(inout)}]{listline, }
\item[{type({\bf spectrum}), intent(inout)}]{specin}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_a682ee87f23d9e0e4e5619f60c436a3f2}


\-Definition at line 335 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a1f7e35abd0d9c4c0b187696002c1a4c6}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!read\-\_\-spectrum\-\_\-input@{read\-\_\-spectrum\-\_\-input}}
\index{read\-\_\-spectrum\-\_\-input@{read\-\_\-spectrum\-\_\-input}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{read\-\_\-spectrum\-\_\-input}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::read\-\_\-spectrum\-\_\-input} (
\begin{DoxyParamCaption}
\item[{type({\bf waveparamsnew}), intent(inout)}]{wp, }
\item[{type(filenames), intent(inout)}]{fn, }
\item[{type({\bf spectrum}), intent(inout)}]{specin}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_a1f7e35abd0d9c4c0b187696002c1a4c6}


\-Definition at line 247 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_ab5b5100ab2b89fd4f982d7552b22857a}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!read\-\_\-swan\-\_\-file@{read\-\_\-swan\-\_\-file}}
\index{read\-\_\-swan\-\_\-file@{read\-\_\-swan\-\_\-file}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{read\-\_\-swan\-\_\-file}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::read\-\_\-swan\-\_\-file} (
\begin{DoxyParamCaption}
\item[{type(parameters), intent(in)}]{par, }
\item[{character(len=$\ast$), intent(in)}]{readfile, }
\item[{type({\bf spectrum}), intent(inout)}]{specin}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_ab5b5100ab2b89fd4f982d7552b22857a}


\-Definition at line 816 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a3de9d3cb05e0a95231de57375718a601}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!read\-\_\-vardens\-\_\-file@{read\-\_\-vardens\-\_\-file}}
\index{read\-\_\-vardens\-\_\-file@{read\-\_\-vardens\-\_\-file}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{read\-\_\-vardens\-\_\-file}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::read\-\_\-vardens\-\_\-file} (
\begin{DoxyParamCaption}
\item[{type(parameters), intent(in)}]{par, }
\item[{character(len=$\ast$), intent(in)}]{readfile, }
\item[{type({\bf spectrum}), intent(inout)}]{specin}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_a3de9d3cb05e0a95231de57375718a601}


\-Definition at line 1086 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a7733ddcad14f14bc8d8e11a2601583ec}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!set\-\_\-bcfilenames@{set\-\_\-bcfilenames}}
\index{set\-\_\-bcfilenames@{set\-\_\-bcfilenames}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{set\-\_\-bcfilenames}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::set\-\_\-bcfilenames} (
\begin{DoxyParamCaption}
\item[{type({\bf waveparamsnew}), intent(inout)}]{wp}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_a7733ddcad14f14bc8d8e11a2601583ec}


\-Definition at line 1382 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_abd084d6776d32cef09b3bee71c5cb0a7}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!set\-\_\-repeatwbc@{set\-\_\-repeatwbc}}
\index{set\-\_\-repeatwbc@{set\-\_\-repeatwbc}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{set\-\_\-repeatwbc}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::set\-\_\-repeatwbc} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_abd084d6776d32cef09b3bee71c5cb0a7}


\-Definition at line 1361 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_ac9e1c7b1b8012948f17f61422ed291f1}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!tp\-Dcalc@{tp\-Dcalc}}
\index{tp\-Dcalc@{tp\-Dcalc}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{tp\-Dcalc}]{\setlength{\rightskip}{0pt plus 5cm}subroutine {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::tp\-Dcalc} (
\begin{DoxyParamCaption}
\item[{real$\ast$8, dimension(\-:), intent(in)}]{\-Sf, }
\item[{real$\ast$8, dimension(\-:), intent(in)}]{f, }
\item[{real$\ast$8, intent(out)}]{\-Trep, }
\item[{real$\ast$8, intent(in)}]{trepfac, }
\item[{integer, intent(in)}]{switch}
\end{DoxyParamCaption}
)}}\label{classwave__boundary__update__module_ac9e1c7b1b8012948f17f61422ed291f1}


\-Definition at line 1651 of file wave\-\_\-boundary\-\_\-update.\-f90.



\subsection{\-Member \-Data \-Documentation}
\hypertarget{classwave__boundary__update__module_aa46f964a5cf334f6ecbc6b4fcb3e8c24}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!bccount@{bccount}}
\index{bccount@{bccount}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{bccount}]{\setlength{\rightskip}{0pt plus 5cm}integer {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::bccount}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_aa46f964a5cf334f6ecbc6b4fcb3e8c24}


\-Definition at line 65 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a408dd34580fbaf98626d3f8a7291ba09}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!hb0@{hb0}}
\index{hb0@{hb0}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{hb0}]{\setlength{\rightskip}{0pt plus 5cm}real$\ast$8 {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::hb0}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_a408dd34580fbaf98626d3f8a7291ba09}


\-Definition at line 66 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a52481b988b02e0f6dc154307327ec0d7}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!\-Kmin@{\-Kmin}}
\index{\-Kmin@{\-Kmin}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{\-Kmin}]{\setlength{\rightskip}{0pt plus 5cm}integer, parameter {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::\-Kmin} = 200\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_a52481b988b02e0f6dc154307327ec0d7}


\-Definition at line 60 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_ac9e62f819b53121045439337b2edc3d3}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!naint@{naint}}
\index{naint@{naint}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{naint}]{\setlength{\rightskip}{0pt plus 5cm}integer, parameter {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::naint} = 401\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_ac9e62f819b53121045439337b2edc3d3}


\-Definition at line 59 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a630fa777235fa48eb36e8c1b3de1710c}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!nfint@{nfint}}
\index{nfint@{nfint}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{nfint}]{\setlength{\rightskip}{0pt plus 5cm}integer, parameter {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::nfint} = 801\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_a630fa777235fa48eb36e8c1b3de1710c}


\-Definition at line 58 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_aaeb1205d5a35b3811c23b4a384328fe3}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!npb@{npb}}
\index{npb@{npb}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{npb}]{\setlength{\rightskip}{0pt plus 5cm}integer {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::npb}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_aaeb1205d5a35b3811c23b4a384328fe3}


\-Definition at line 65 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a017ec130d97607d2786d74fd7db58dac}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!nspectra@{nspectra}}
\index{nspectra@{nspectra}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{nspectra}]{\setlength{\rightskip}{0pt plus 5cm}integer {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::nspectra}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_a017ec130d97607d2786d74fd7db58dac}


\-Definition at line 65 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a7c5f8775195f27f0e040a02965adde83}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!par\-\_\-compi@{par\-\_\-compi}}
\index{par\-\_\-compi@{par\-\_\-compi}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{par\-\_\-compi}]{\setlength{\rightskip}{0pt plus 5cm}complex(kind(0.\-0d0)), parameter wave\-\_\-boundary\-\_\-update\-\_\-module\-::par\-\_\-compi = (0.\-0d0, 1.\-0d0)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_a7c5f8775195f27f0e040a02965adde83}


\-Definition at line 70 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a9dc3c07fa112a64bc1e75c06e4e9573f}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!par\-\_\-g@{par\-\_\-g}}
\index{par\-\_\-g@{par\-\_\-g}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{par\-\_\-g}]{\setlength{\rightskip}{0pt plus 5cm}real$\ast$8, parameter {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::par\-\_\-g} = 9.\-81d0\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_a9dc3c07fa112a64bc1e75c06e4e9573f}


\-Definition at line 69 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a8bb90d2022a5c261597ebdbf6a841aa5}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!par\-\_\-pi@{par\-\_\-pi}}
\index{par\-\_\-pi@{par\-\_\-pi}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{par\-\_\-pi}]{\setlength{\rightskip}{0pt plus 5cm}real$\ast$8, parameter {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::par\-\_\-pi} = 4.d0$\ast$atan(1.d0)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_a8bb90d2022a5c261597ebdbf6a841aa5}


\-Definition at line 68 of file wave\-\_\-boundary\-\_\-update.\-f90.

\hypertarget{classwave__boundary__update__module_a63ca71e8f24c6a188d2eacdb73654798}{\index{wave\-\_\-boundary\-\_\-update\-\_\-module@{wave\-\_\-boundary\-\_\-update\-\_\-module}!wdmax@{wdmax}}
\index{wdmax@{wdmax}!wave_boundary_update_module@{wave\-\_\-boundary\-\_\-update\-\_\-module}}
\subsubsection[{wdmax}]{\setlength{\rightskip}{0pt plus 5cm}real$\ast$8, parameter {\bf wave\-\_\-boundary\-\_\-update\-\_\-module\-::wdmax} = 5.d0\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classwave__boundary__update__module_a63ca71e8f24c6a188d2eacdb73654798}


\-Definition at line 61 of file wave\-\_\-boundary\-\_\-update.\-f90.



\-The documentation for this module was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\-C\-:/repositories/\-X\-Beach/trunk/src/xbeachlibrary/\hyperlink{wave__boundary__update_8f90}{wave\-\_\-boundary\-\_\-update.\-f90}\end{DoxyCompactItemize}
