\hypertarget{MOM__ice__shelf_8F90}{}\section{/home/cermak/src/\+M\+O\+M6/src/ice\+\_\+shelf/\+M\+O\+M\+\_\+ice\+\_\+shelf.F90 File Reference}
\label{MOM__ice__shelf_8F90}\index{/home/cermak/src/\+M\+O\+M6/src/ice\+\_\+shelf/\+M\+O\+M\+\_\+ice\+\_\+shelf.\+F90@{/home/cermak/src/\+M\+O\+M6/src/ice\+\_\+shelf/\+M\+O\+M\+\_\+ice\+\_\+shelf.\+F90}}
{\ttfamily \#include $<$M\+O\+M\+\_\+memory.\+h$>$}\newline
{\ttfamily \#include \char`\"{}version\+\_\+variable.\+h\char`\"{}}\newline
\subsection*{Data Types}
\begin{DoxyCompactItemize}
\item 
type \hyperlink{structmom__ice__shelf_1_1ice__shelf__cs}{mom\+\_\+ice\+\_\+shelf\+::ice\+\_\+shelf\+\_\+cs}
\begin{DoxyCompactList}\small\item\em Control structure that contains ice shelf parameters and diagnostics handles. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Modules}
\begin{DoxyCompactItemize}
\item 
module \hyperlink{namespacemom__ice__shelf}{mom\+\_\+ice\+\_\+shelf}
\begin{DoxyCompactList}\small\item\em Implements the thermodynamic aspects of ocean / ice-\/shelf interactions, along with a crude placeholder for a later implementation of full ice shelf dynamics, all using the M\+OM framework and coding style. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{MOM__ice__shelf_8F90_ac539891cc56d48dbd74fc6af939a6f0f}{G\+R\+I\+D\+\_\+\+S\+Y\+M\+\_\+}~.false.
\end{DoxyCompactItemize}
\subsection*{Functions/\+Subroutines}
\begin{DoxyCompactItemize}
\item 
subroutine, public \hyperlink{namespacemom__ice__shelf_a21a2a3ddec5ea25c7bca246419e4dcfe}{mom\+\_\+ice\+\_\+shelf\+::shelf\+\_\+calc\+\_\+flux} (sfc\+\_\+state, fluxes, Time, time\+\_\+step, CS, forces)
\begin{DoxyCompactList}\small\item\em Calculates fluxes between the ocean and ice-\/shelf using the three-\/equations formulation (optional to use just two equations). See \hyperlink{namespacemom__ice__shelf_section_ICE_SHELF_equations}{I\+C\+E\+\_\+\+S\+H\+E\+LF equations}. \end{DoxyCompactList}\item 
subroutine \hyperlink{namespacemom__ice__shelf_a787fc1ef4951b3bb4a7d654efb147fc4}{mom\+\_\+ice\+\_\+shelf\+::change\+\_\+thickness\+\_\+using\+\_\+melt} (I\+SS, G, US, time\+\_\+step, fluxes, density\+\_\+ice, debug)
\begin{DoxyCompactList}\small\item\em Changes the thickness (mass) of the ice shelf based on sub-\/ice-\/shelf melting. \end{DoxyCompactList}\item 
subroutine, public \hyperlink{namespacemom__ice__shelf_a0274b25df07d5fa712d038c31f921cbc}{mom\+\_\+ice\+\_\+shelf\+::add\+\_\+shelf\+\_\+forces} (G, US, CS, forces, do\+\_\+shelf\+\_\+area)
\begin{DoxyCompactList}\small\item\em This subroutine adds the mechanical forcing fields and perhaps shelf areas, based on the ice state in ice\+\_\+shelf\+\_\+\+CS. \end{DoxyCompactList}\item 
subroutine \hyperlink{namespacemom__ice__shelf_aca1d1c1db015f270ce1b1f93d16dea91}{mom\+\_\+ice\+\_\+shelf\+::add\+\_\+shelf\+\_\+pressure} (G, US, CS, fluxes)
\begin{DoxyCompactList}\small\item\em This subroutine adds the ice shelf pressure to the fluxes type. \end{DoxyCompactList}\item 
subroutine, public \hyperlink{namespacemom__ice__shelf_a8f7eae8642835e30aff99f77f3836945}{mom\+\_\+ice\+\_\+shelf\+::add\+\_\+shelf\+\_\+flux} (G, US, CS, sfc\+\_\+state, fluxes)
\begin{DoxyCompactList}\small\item\em Updates surface fluxes that are influenced by sub-\/ice-\/shelf melting. \end{DoxyCompactList}\item 
subroutine, public \hyperlink{namespacemom__ice__shelf_a5990f9918493ff4984245eac74e5f4d9}{mom\+\_\+ice\+\_\+shelf\+::initialize\+\_\+ice\+\_\+shelf} (param\+\_\+file, ocn\+\_\+grid, Time, CS, diag, forces, fluxes, Time\+\_\+in, solo\+\_\+ice\+\_\+sheet\+\_\+in)
\begin{DoxyCompactList}\small\item\em Initializes shelf model data, parameters and diagnostics. \end{DoxyCompactList}\item 
subroutine \hyperlink{namespacemom__ice__shelf_ac478a1dd52137f8e851916bee2243fa3}{mom\+\_\+ice\+\_\+shelf\+::initialize\+\_\+shelf\+\_\+mass} (G, param\+\_\+file, CS, I\+SS, new\+\_\+sim)
\begin{DoxyCompactList}\small\item\em Initializes shelf mass based on three options (file, zero and user) \end{DoxyCompactList}\item 
subroutine \hyperlink{namespacemom__ice__shelf_a6f0fa9f98ac01752ca2983c7e9816097}{mom\+\_\+ice\+\_\+shelf\+::update\+\_\+shelf\+\_\+mass} (G, US, CS, I\+SS, Time)
\begin{DoxyCompactList}\small\item\em Updates the ice shelf mass using data from a file. \end{DoxyCompactList}\item 
subroutine, public \hyperlink{namespacemom__ice__shelf_a40ae01bbe3155191647f2150903dda69}{mom\+\_\+ice\+\_\+shelf\+::ice\+\_\+shelf\+\_\+save\+\_\+restart} (CS, Time, directory, time\+\_\+stamped, filename\+\_\+suffix)
\begin{DoxyCompactList}\small\item\em Save the ice shelf restart file. \end{DoxyCompactList}\item 
subroutine, public \hyperlink{namespacemom__ice__shelf_a6d0412c7264e0480d5144d26995dd8d3}{mom\+\_\+ice\+\_\+shelf\+::ice\+\_\+shelf\+\_\+end} (CS)
\begin{DoxyCompactList}\small\item\em Deallocates all memory associated with this module. \end{DoxyCompactList}\item 
subroutine, public \hyperlink{namespacemom__ice__shelf_a0678e919d45fc9e9e9b00dce3564a2fc}{mom\+\_\+ice\+\_\+shelf\+::solo\+\_\+step\+\_\+ice\+\_\+shelf} (CS, time\+\_\+interval, nsteps, Time, min\+\_\+time\+\_\+step\+\_\+in)
\begin{DoxyCompactList}\small\item\em This routine is for stepping a stand-\/alone ice shelf model without an ocean. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
integer \hyperlink{namespacemom__ice__shelf_a5aff3e9a37cb5bc2b5b998bf296437ff}{mom\+\_\+ice\+\_\+shelf\+::id\+\_\+clock\+\_\+shelf}
\begin{DoxyCompactList}\small\item\em C\+PU Clock for the ice shelf code. \end{DoxyCompactList}\item 
integer \hyperlink{namespacemom__ice__shelf_a3db8709f10aa77ed302598f3a23a608d}{mom\+\_\+ice\+\_\+shelf\+::id\+\_\+clock\+\_\+pass}
\begin{DoxyCompactList}\small\item\em C\+PU Clock for group pass calls. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\mbox{\Hypertarget{MOM__ice__shelf_8F90_ac539891cc56d48dbd74fc6af939a6f0f}\label{MOM__ice__shelf_8F90_ac539891cc56d48dbd74fc6af939a6f0f}} 
\index{M\+O\+M\+\_\+ice\+\_\+shelf.\+F90@{M\+O\+M\+\_\+ice\+\_\+shelf.\+F90}!G\+R\+I\+D\+\_\+\+S\+Y\+M\+\_\+@{G\+R\+I\+D\+\_\+\+S\+Y\+M\+\_\+}}
\index{G\+R\+I\+D\+\_\+\+S\+Y\+M\+\_\+@{G\+R\+I\+D\+\_\+\+S\+Y\+M\+\_\+}!M\+O\+M\+\_\+ice\+\_\+shelf.\+F90@{M\+O\+M\+\_\+ice\+\_\+shelf.\+F90}}
\subsubsection{\texorpdfstring{G\+R\+I\+D\+\_\+\+S\+Y\+M\+\_\+}{GRID\_SYM\_}}
{\footnotesize\ttfamily \#define G\+R\+I\+D\+\_\+\+S\+Y\+M\+\_\+~.false.}

