\hypertarget{namespacegfs__stochastics}{}\doxysubsection{gfs\+\_\+stochastics Module Reference}
\label{namespacegfs__stochastics}\index{gfs\_stochastics@{gfs\_stochastics}}
\doxysubsubsection*{Functions/\+Subroutines}
\begin{DoxyCompactItemize}
\item 
subroutine \mbox{\hyperlink{group__gfs__stoch__mod_gaaddd99d035ad19d9ff6e2ababfb5da12_gaaddd99d035ad19d9ff6e2ababfb5da12}{gfs\+\_\+stochastics\+\_\+init}} (si, vfact\+\_\+ca, km, do\+\_\+ca, ca\+\_\+global, errmsg, errflg)
\item 
subroutine \mbox{\hyperlink{namespacegfs__stochastics_adacd9103e2ece95c83b52b9cec6b9ff6_adacd9103e2ece95c83b52b9cec6b9ff6}{gfs\+\_\+stochastics\+\_\+run}} (im, km, kdt, delt, do\+\_\+sppt, pert\+\_\+mp, use\+\_\+zmtnblck, do\+\_\+shum, do\+\_\+skeb, do\+\_\+ca, ca\+\_\+global, ca1, vfact\+\_\+ca, zmtnblck, sppt\+\_\+wts, skebu\+\_\+wts, skebv\+\_\+wts, shum\+\_\+wts, diss\+\_\+est, ugrs, vgrs, tgrs, qgrs\+\_\+wv, qgrs\+\_\+cw, qgrs\+\_\+rw, qgrs\+\_\+sw, qgrs\+\_\+iw, qgrs\+\_\+gl, gu0, gv0, gt0, gq0\+\_\+wv, dtdtnp, gq0\+\_\+cw, gq0\+\_\+rw, gq0\+\_\+sw, gq0\+\_\+iw, gq0\+\_\+gl, rain, rainc, tprcp, totprcp, cnvprcp, totprcpb, cnvprcpb, cplflx, cpllnd, rain\+\_\+cpl, snow\+\_\+cpl, drain\+\_\+cpl, dsnow\+\_\+cpl, ntcw, ntrw, ntsw, ntiw, ntgl, errmsg, errflg)
\end{DoxyCompactItemize}


\doxysubsubsection{Function/\+Subroutine Documentation}
\mbox{\Hypertarget{group__gfs__stoch__mod_gaaddd99d035ad19d9ff6e2ababfb5da12_gaaddd99d035ad19d9ff6e2ababfb5da12}\label{group__gfs__stoch__mod_gaaddd99d035ad19d9ff6e2ababfb5da12_gaaddd99d035ad19d9ff6e2ababfb5da12}} 
\index{gfs\_stochastics@{gfs\_stochastics}!gfs\_stochastics\_init@{gfs\_stochastics\_init}}
\index{gfs\_stochastics\_init@{gfs\_stochastics\_init}!gfs\_stochastics@{gfs\_stochastics}}
\doxyparagraph{\texorpdfstring{gfs\_stochastics\_init()}{gfs\_stochastics\_init()}}
{\footnotesize\ttfamily subroutine gfs\+\_\+stochastics\+::gfs\+\_\+stochastics\+\_\+init (\begin{DoxyParamCaption}\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{si,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{vfact\+\_\+ca,  }\item[{integer, intent(in)}]{km,  }\item[{logical, intent(in)}]{do\+\_\+ca,  }\item[{logical, intent(in)}]{ca\+\_\+global,  }\item[{character(len=$\ast$), intent(out)}]{errmsg,  }\item[{integer, intent(out)}]{errflg }\end{DoxyParamCaption})}

\mbox{\Hypertarget{namespacegfs__stochastics_adacd9103e2ece95c83b52b9cec6b9ff6_adacd9103e2ece95c83b52b9cec6b9ff6}\label{namespacegfs__stochastics_adacd9103e2ece95c83b52b9cec6b9ff6_adacd9103e2ece95c83b52b9cec6b9ff6}} 
\index{gfs\_stochastics@{gfs\_stochastics}!gfs\_stochastics\_run@{gfs\_stochastics\_run}}
\index{gfs\_stochastics\_run@{gfs\_stochastics\_run}!gfs\_stochastics@{gfs\_stochastics}}
\doxyparagraph{\texorpdfstring{gfs\_stochastics\_run()}{gfs\_stochastics\_run()}}
{\footnotesize\ttfamily subroutine gfs\+\_\+stochastics\+::gfs\+\_\+stochastics\+\_\+run (\begin{DoxyParamCaption}\item[{integer, intent(in)}]{im,  }\item[{integer, intent(in)}]{km,  }\item[{integer, intent(in)}]{kdt,  }\item[{real(kind\+\_\+phys), intent(in)}]{delt,  }\item[{logical, intent(in)}]{do\+\_\+sppt,  }\item[{logical, intent(in)}]{pert\+\_\+mp,  }\item[{logical, intent(in)}]{use\+\_\+zmtnblck,  }\item[{logical, intent(in)}]{do\+\_\+shum,  }\item[{logical, intent(in)}]{do\+\_\+skeb,  }\item[{logical, intent(in)}]{do\+\_\+ca,  }\item[{logical, intent(in)}]{ca\+\_\+global,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{ca1,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{vfact\+\_\+ca,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{zmtnblck,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(inout)}]{sppt\+\_\+wts,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{skebu\+\_\+wts,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{skebv\+\_\+wts,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{shum\+\_\+wts,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{diss\+\_\+est,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{ugrs,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{vgrs,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{tgrs,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{qgrs\+\_\+wv,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{qgrs\+\_\+cw,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{qgrs\+\_\+rw,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{qgrs\+\_\+sw,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{qgrs\+\_\+iw,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(in)}]{qgrs\+\_\+gl,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(inout)}]{gu0,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(inout)}]{gv0,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(inout)}]{gt0,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(inout)}]{gq0\+\_\+wv,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(inout)}]{dtdtnp,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(inout)}]{gq0\+\_\+cw,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(inout)}]{gq0\+\_\+rw,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(inout)}]{gq0\+\_\+sw,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(inout)}]{gq0\+\_\+iw,  }\item[{real(kind\+\_\+phys), dimension(\+:,\+:), intent(inout)}]{gq0\+\_\+gl,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{rain,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{rainc,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{tprcp,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{totprcp,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{cnvprcp,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{totprcpb,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{cnvprcpb,  }\item[{logical, intent(in)}]{cplflx,  }\item[{logical, intent(in)}]{cpllnd,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{rain\+\_\+cpl,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(inout)}]{snow\+\_\+cpl,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{drain\+\_\+cpl,  }\item[{real(kind\+\_\+phys), dimension(\+:), intent(in)}]{dsnow\+\_\+cpl,  }\item[{integer, intent(in)}]{ntcw,  }\item[{integer, intent(in)}]{ntrw,  }\item[{integer, intent(in)}]{ntsw,  }\item[{integer, intent(in)}]{ntiw,  }\item[{integer, intent(in)}]{ntgl,  }\item[{character(len=$\ast$), intent(out)}]{errmsg,  }\item[{integer, intent(out)}]{errflg }\end{DoxyParamCaption})}

\hypertarget{namespacegfs__stochastics_adacd9103e2ece95c83b52b9cec6b9ff6_arg_table_GFS_stochastics_run}{}\doxysubsubsection{Argument Table}\label{namespacegfs__stochastics_adacd9103e2ece95c83b52b9cec6b9ff6_arg_table_GFS_stochastics_run}
\hypertarget{namespacegfs__stochastics_adacd9103e2ece95c83b52b9cec6b9ff6_gfs_stochy_general}{}\doxysubsubsection{GFS\+\_\+stochastics\+\_\+run General Algorithm}\label{namespacegfs__stochastics_adacd9103e2ece95c83b52b9cec6b9ff6_gfs_stochy_general}
This is the GFS stochastic physics driver. Routines are called prior to radiation and physics steps to handle\+:
\begin{DoxyEnumerate}
\item sets up various time/date variables
\item sets up various triggers
\item defines random seed indices for radiation (in a reproducible way)
\item interpolates coefficients for prognostic ozone calculation
\item performs surface data cycling via the GFS gcycle routine 
\end{DoxyEnumerate}