\hypertarget{interfacemom__safe__alloc_1_1safe__alloc__ptr}{}\section{mom\+\_\+safe\+\_\+alloc\+::safe\+\_\+alloc\+\_\+ptr Interface Reference}
\label{interfacemom__safe__alloc_1_1safe__alloc__ptr}\index{mom\_safe\_alloc::safe\_alloc\_ptr@{mom\_safe\_alloc::safe\_alloc\_ptr}}


\subsection{Detailed Description}
Allocate a pointer to a 1-\/d, 2-\/d or 3-\/d array. 

Definition at line 12 of file M\+O\+M\+\_\+safe\+\_\+alloc.\+F90.

\subsection*{Private functions}
\begin{DoxyCompactItemize}
\item 
subroutine \mbox{\hyperlink{interfacemom__safe__alloc_1_1safe__alloc__ptr_a12a82b8b4684884b1dc2c0ad50087a3c}{safe\+\_\+alloc\+\_\+ptr\+\_\+3d\+\_\+3arg}} (ptr, ni, nj, nk)
\begin{DoxyCompactList}\small\item\em Allocate a pointer to a 3-\/d array based on its dimension sizes. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{interfacemom__safe__alloc_1_1safe__alloc__ptr_adb80bbe755ca8e2161737ab9ac692016}{safe\+\_\+alloc\+\_\+ptr\+\_\+3d\+\_\+6arg}} (ptr, is, ie, js, je, ks, ke)
\begin{DoxyCompactList}\small\item\em Allocate a pointer to a 3-\/d array based on its index starting and ending values. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{interfacemom__safe__alloc_1_1safe__alloc__ptr_a814a08c2898e17352b44735255137296}{safe\+\_\+alloc\+\_\+ptr\+\_\+2d\+\_\+2arg}} (ptr, ni, nj)
\begin{DoxyCompactList}\small\item\em Allocate a pointer to a 2-\/d array based on its dimension sizes. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{interfacemom__safe__alloc_1_1safe__alloc__ptr_abee4bf2c26394f435ce3ede3de327caa}{safe\+\_\+alloc\+\_\+ptr\+\_\+3d}} (ptr, is, ie, js, je, nk)
\begin{DoxyCompactList}\small\item\em Allocate a pointer to a 3-\/d array based on its index starting and ending values. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{interfacemom__safe__alloc_1_1safe__alloc__ptr_ad3985d82ed4b679fa040efcaed207188}{safe\+\_\+alloc\+\_\+ptr\+\_\+2d}} (ptr, is, ie, js, je)
\begin{DoxyCompactList}\small\item\em Allocate a pointer to a 2-\/d array based on its index starting and ending values. \end{DoxyCompactList}\item 
subroutine \mbox{\hyperlink{interfacemom__safe__alloc_1_1safe__alloc__ptr_ad8b9c3b68988584eb0137dadf3957046}{safe\+\_\+alloc\+\_\+ptr\+\_\+1d}} (ptr, i1, i2)
\begin{DoxyCompactList}\small\item\em Allocate a pointer to a 1-\/d array. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Allocate a pointer to a 1-\/d, 2-\/d or 3-\/d array. 

Definition at line 12 of file M\+O\+M\+\_\+safe\+\_\+alloc.\+F90.



\subsection{Functions and subroutines}
\mbox{\Hypertarget{interfacemom__safe__alloc_1_1safe__alloc__ptr_ad8b9c3b68988584eb0137dadf3957046}\label{interfacemom__safe__alloc_1_1safe__alloc__ptr_ad8b9c3b68988584eb0137dadf3957046}} 
\index{mom\_safe\_alloc::safe\_alloc\_ptr@{mom\_safe\_alloc::safe\_alloc\_ptr}!safe\_alloc\_ptr\_1d@{safe\_alloc\_ptr\_1d}}
\index{safe\_alloc\_ptr\_1d@{safe\_alloc\_ptr\_1d}!mom\_safe\_alloc::safe\_alloc\_ptr@{mom\_safe\_alloc::safe\_alloc\_ptr}}
\subsubsection{\texorpdfstring{safe\_alloc\_ptr\_1d()}{safe\_alloc\_ptr\_1d()}}
{\footnotesize\ttfamily subroutine mom\+\_\+safe\+\_\+alloc\+::safe\+\_\+alloc\+\_\+ptr\+::safe\+\_\+alloc\+\_\+ptr\+\_\+1d (\begin{DoxyParamCaption}\item[{real, dimension(\+:), pointer}]{ptr,  }\item[{integer, intent(in)}]{i1,  }\item[{integer, intent(in), optional}]{i2 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Allocate a pointer to a 1-\/d array. 


\begin{DoxyParams}[1]{Parameters}
 & {\em ptr} & A pointer to allocate \\
\hline
\mbox{\texttt{ in}}  & {\em i1} & The size of the array, or its starting index if i2 is present \\
\hline
\mbox{\texttt{ in}}  & {\em i2} & The ending index of the array \\
\hline
\end{DoxyParams}


Definition at line 36 of file M\+O\+M\+\_\+safe\+\_\+alloc.\+F90.


\begin{DoxyCode}{0}
\DoxyCodeLine{36 \textcolor{keywordtype}{  real}, \textcolor{keywordtype}{dimension(:)}, \textcolor{keywordtype}{pointer} :: ptr\textcolor{comment}{ !< A pointer to allocate}}
\DoxyCodeLine{37   \textcolor{keywordtype}{integer},            \textcolor{keywordtype}{intent(in)} :: i1\textcolor{comment}{ !< The size of the array, or its starting index if i2 is present}}
\DoxyCodeLine{38   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{optional},  \textcolor{keywordtype}{intent(in)} :: i2\textcolor{comment}{ !< The ending index of the array}}
\DoxyCodeLine{39   \textcolor{keywordflow}{if} (.not.\textcolor{keyword}{associated}(ptr)) \textcolor{keywordflow}{then}}
\DoxyCodeLine{40     \textcolor{keywordflow}{if} (\textcolor{keyword}{present}(i2)) \textcolor{keywordflow}{then}}
\DoxyCodeLine{41       \textcolor{keyword}{allocate}(ptr(i1:i2))}
\DoxyCodeLine{42     \textcolor{keywordflow}{else}}
\DoxyCodeLine{43       \textcolor{keyword}{allocate}(ptr(i1))}
\DoxyCodeLine{44 \textcolor{keywordflow}{    endif}}
\DoxyCodeLine{45     ptr(:) = 0.0}
\DoxyCodeLine{46 \textcolor{keywordflow}{  endif}}

\end{DoxyCode}
\mbox{\Hypertarget{interfacemom__safe__alloc_1_1safe__alloc__ptr_ad3985d82ed4b679fa040efcaed207188}\label{interfacemom__safe__alloc_1_1safe__alloc__ptr_ad3985d82ed4b679fa040efcaed207188}} 
\index{mom\_safe\_alloc::safe\_alloc\_ptr@{mom\_safe\_alloc::safe\_alloc\_ptr}!safe\_alloc\_ptr\_2d@{safe\_alloc\_ptr\_2d}}
\index{safe\_alloc\_ptr\_2d@{safe\_alloc\_ptr\_2d}!mom\_safe\_alloc::safe\_alloc\_ptr@{mom\_safe\_alloc::safe\_alloc\_ptr}}
\subsubsection{\texorpdfstring{safe\_alloc\_ptr\_2d()}{safe\_alloc\_ptr\_2d()}}
{\footnotesize\ttfamily subroutine mom\+\_\+safe\+\_\+alloc\+::safe\+\_\+alloc\+\_\+ptr\+::safe\+\_\+alloc\+\_\+ptr\+\_\+2d (\begin{DoxyParamCaption}\item[{real, dimension(\+:,\+:), pointer}]{ptr,  }\item[{integer, intent(in)}]{is,  }\item[{integer, intent(in)}]{ie,  }\item[{integer, intent(in)}]{js,  }\item[{integer, intent(in)}]{je }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Allocate a pointer to a 2-\/d array based on its index starting and ending values. 


\begin{DoxyParams}[1]{Parameters}
 & {\em ptr} & A pointer to allocate \\
\hline
\mbox{\texttt{ in}}  & {\em is} & The start index to allocate for the 1st dimension \\
\hline
\mbox{\texttt{ in}}  & {\em ie} & The end index to allocate for the 1st dimension \\
\hline
\mbox{\texttt{ in}}  & {\em js} & The start index to allocate for the 2nd dimension \\
\hline
\mbox{\texttt{ in}}  & {\em je} & The end index to allocate for the 2nd dimension \\
\hline
\end{DoxyParams}


Definition at line 74 of file M\+O\+M\+\_\+safe\+\_\+alloc.\+F90.


\begin{DoxyCode}{0}
\DoxyCodeLine{74 \textcolor{keywordtype}{  real}, \textcolor{keywordtype}{dimension(:,:)}, \textcolor{keywordtype}{pointer} :: ptr\textcolor{comment}{ !< A pointer to allocate}}
\DoxyCodeLine{75   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: is\textcolor{comment}{ !< The start index to allocate for the 1st dimension}}
\DoxyCodeLine{76   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ie\textcolor{comment}{ !< The end index to allocate for the 1st dimension}}
\DoxyCodeLine{77   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: js\textcolor{comment}{ !< The start index to allocate for the 2nd dimension}}
\DoxyCodeLine{78   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: je\textcolor{comment}{ !< The end index to allocate for the 2nd dimension}}
\DoxyCodeLine{79   \textcolor{keywordflow}{if} (.not.\textcolor{keyword}{associated}(ptr)) \textcolor{keywordflow}{then}}
\DoxyCodeLine{80     \textcolor{keyword}{allocate}(ptr(is:ie,js:je))}
\DoxyCodeLine{81     ptr(:,:) = 0.0}
\DoxyCodeLine{82 \textcolor{keywordflow}{  endif}}

\end{DoxyCode}
\mbox{\Hypertarget{interfacemom__safe__alloc_1_1safe__alloc__ptr_a814a08c2898e17352b44735255137296}\label{interfacemom__safe__alloc_1_1safe__alloc__ptr_a814a08c2898e17352b44735255137296}} 
\index{mom\_safe\_alloc::safe\_alloc\_ptr@{mom\_safe\_alloc::safe\_alloc\_ptr}!safe\_alloc\_ptr\_2d\_2arg@{safe\_alloc\_ptr\_2d\_2arg}}
\index{safe\_alloc\_ptr\_2d\_2arg@{safe\_alloc\_ptr\_2d\_2arg}!mom\_safe\_alloc::safe\_alloc\_ptr@{mom\_safe\_alloc::safe\_alloc\_ptr}}
\subsubsection{\texorpdfstring{safe\_alloc\_ptr\_2d\_2arg()}{safe\_alloc\_ptr\_2d\_2arg()}}
{\footnotesize\ttfamily subroutine mom\+\_\+safe\+\_\+alloc\+::safe\+\_\+alloc\+\_\+ptr\+::safe\+\_\+alloc\+\_\+ptr\+\_\+2d\+\_\+2arg (\begin{DoxyParamCaption}\item[{real, dimension(\+:,\+:), pointer}]{ptr,  }\item[{integer, intent(in)}]{ni,  }\item[{integer, intent(in)}]{nj }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Allocate a pointer to a 2-\/d array based on its dimension sizes. 


\begin{DoxyParams}[1]{Parameters}
 & {\em ptr} & A pointer to allocate \\
\hline
\mbox{\texttt{ in}}  & {\em ni} & The size of the 1st dimension of the array \\
\hline
\mbox{\texttt{ in}}  & {\em nj} & The size of the 2nd dimension of the array \\
\hline
\end{DoxyParams}


Definition at line 51 of file M\+O\+M\+\_\+safe\+\_\+alloc.\+F90.


\begin{DoxyCode}{0}
\DoxyCodeLine{51 \textcolor{keywordtype}{  real}, \textcolor{keywordtype}{dimension(:,:)}, \textcolor{keywordtype}{pointer} :: ptr\textcolor{comment}{ !< A pointer to allocate}}
\DoxyCodeLine{52   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ni\textcolor{comment}{ !< The size of the 1st dimension of the array}}
\DoxyCodeLine{53   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: nj\textcolor{comment}{ !< The size of the 2nd dimension of the array}}
\DoxyCodeLine{54   \textcolor{keywordflow}{if} (.not.\textcolor{keyword}{associated}(ptr)) \textcolor{keywordflow}{then}}
\DoxyCodeLine{55     \textcolor{keyword}{allocate}(ptr(ni,nj))}
\DoxyCodeLine{56     ptr(:,:) = 0.0}
\DoxyCodeLine{57 \textcolor{keywordflow}{  endif}}

\end{DoxyCode}
\mbox{\Hypertarget{interfacemom__safe__alloc_1_1safe__alloc__ptr_abee4bf2c26394f435ce3ede3de327caa}\label{interfacemom__safe__alloc_1_1safe__alloc__ptr_abee4bf2c26394f435ce3ede3de327caa}} 
\index{mom\_safe\_alloc::safe\_alloc\_ptr@{mom\_safe\_alloc::safe\_alloc\_ptr}!safe\_alloc\_ptr\_3d@{safe\_alloc\_ptr\_3d}}
\index{safe\_alloc\_ptr\_3d@{safe\_alloc\_ptr\_3d}!mom\_safe\_alloc::safe\_alloc\_ptr@{mom\_safe\_alloc::safe\_alloc\_ptr}}
\subsubsection{\texorpdfstring{safe\_alloc\_ptr\_3d()}{safe\_alloc\_ptr\_3d()}}
{\footnotesize\ttfamily subroutine mom\+\_\+safe\+\_\+alloc\+::safe\+\_\+alloc\+\_\+ptr\+::safe\+\_\+alloc\+\_\+ptr\+\_\+3d (\begin{DoxyParamCaption}\item[{real, dimension(\+:,\+:,\+:), pointer}]{ptr,  }\item[{integer, intent(in)}]{is,  }\item[{integer, intent(in)}]{ie,  }\item[{integer, intent(in)}]{js,  }\item[{integer, intent(in)}]{je,  }\item[{integer, intent(in)}]{nk }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Allocate a pointer to a 3-\/d array based on its index starting and ending values. 


\begin{DoxyParams}[1]{Parameters}
 & {\em ptr} & A pointer to allocate \\
\hline
\mbox{\texttt{ in}}  & {\em is} & The start index to allocate for the 1st dimension \\
\hline
\mbox{\texttt{ in}}  & {\em ie} & The end index to allocate for the 1st dimension \\
\hline
\mbox{\texttt{ in}}  & {\em js} & The start index to allocate for the 2nd dimension \\
\hline
\mbox{\texttt{ in}}  & {\em je} & The end index to allocate for the 2nd dimension \\
\hline
\mbox{\texttt{ in}}  & {\em nk} & The size to allocate for the 3rd dimension \\
\hline
\end{DoxyParams}


Definition at line 87 of file M\+O\+M\+\_\+safe\+\_\+alloc.\+F90.


\begin{DoxyCode}{0}
\DoxyCodeLine{87 \textcolor{keywordtype}{  real}, \textcolor{keywordtype}{dimension(:,:,:)}, \textcolor{keywordtype}{pointer} :: ptr\textcolor{comment}{ !< A pointer to allocate}}
\DoxyCodeLine{88   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: is\textcolor{comment}{ !< The start index to allocate for the 1st dimension}}
\DoxyCodeLine{89   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ie\textcolor{comment}{ !< The end index to allocate for the 1st dimension}}
\DoxyCodeLine{90   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: js\textcolor{comment}{ !< The start index to allocate for the 2nd dimension}}
\DoxyCodeLine{91   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: je\textcolor{comment}{ !< The end index to allocate for the 2nd dimension}}
\DoxyCodeLine{92   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: nk\textcolor{comment}{ !< The size to allocate for the 3rd dimension}}
\DoxyCodeLine{93   \textcolor{keywordflow}{if} (.not.\textcolor{keyword}{associated}(ptr)) \textcolor{keywordflow}{then}}
\DoxyCodeLine{94     \textcolor{keyword}{allocate}(ptr(is:ie,js:je,nk))}
\DoxyCodeLine{95     ptr(:,:,:) = 0.0}
\DoxyCodeLine{96 \textcolor{keywordflow}{  endif}}

\end{DoxyCode}
\mbox{\Hypertarget{interfacemom__safe__alloc_1_1safe__alloc__ptr_a12a82b8b4684884b1dc2c0ad50087a3c}\label{interfacemom__safe__alloc_1_1safe__alloc__ptr_a12a82b8b4684884b1dc2c0ad50087a3c}} 
\index{mom\_safe\_alloc::safe\_alloc\_ptr@{mom\_safe\_alloc::safe\_alloc\_ptr}!safe\_alloc\_ptr\_3d\_3arg@{safe\_alloc\_ptr\_3d\_3arg}}
\index{safe\_alloc\_ptr\_3d\_3arg@{safe\_alloc\_ptr\_3d\_3arg}!mom\_safe\_alloc::safe\_alloc\_ptr@{mom\_safe\_alloc::safe\_alloc\_ptr}}
\subsubsection{\texorpdfstring{safe\_alloc\_ptr\_3d\_3arg()}{safe\_alloc\_ptr\_3d\_3arg()}}
{\footnotesize\ttfamily subroutine mom\+\_\+safe\+\_\+alloc\+::safe\+\_\+alloc\+\_\+ptr\+::safe\+\_\+alloc\+\_\+ptr\+\_\+3d\+\_\+3arg (\begin{DoxyParamCaption}\item[{real, dimension(\+:,\+:,\+:), pointer}]{ptr,  }\item[{integer, intent(in)}]{ni,  }\item[{integer, intent(in)}]{nj,  }\item[{integer, intent(in)}]{nk }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Allocate a pointer to a 3-\/d array based on its dimension sizes. 


\begin{DoxyParams}[1]{Parameters}
 & {\em ptr} & A pointer to allocate \\
\hline
\mbox{\texttt{ in}}  & {\em ni} & The size of the 1st dimension of the array \\
\hline
\mbox{\texttt{ in}}  & {\em nj} & The size of the 2nd dimension of the array \\
\hline
\mbox{\texttt{ in}}  & {\em nk} & The size of the 3rd dimension of the array \\
\hline
\end{DoxyParams}


Definition at line 62 of file M\+O\+M\+\_\+safe\+\_\+alloc.\+F90.


\begin{DoxyCode}{0}
\DoxyCodeLine{62 \textcolor{keywordtype}{  real}, \textcolor{keywordtype}{dimension(:,:,:)}, \textcolor{keywordtype}{pointer} :: ptr\textcolor{comment}{ !< A pointer to allocate}}
\DoxyCodeLine{63   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ni\textcolor{comment}{ !< The size of the 1st dimension of the array}}
\DoxyCodeLine{64   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: nj\textcolor{comment}{ !< The size of the 2nd dimension of the array}}
\DoxyCodeLine{65   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: nk\textcolor{comment}{ !< The size of the 3rd dimension of the array}}
\DoxyCodeLine{66   \textcolor{keywordflow}{if} (.not.\textcolor{keyword}{associated}(ptr)) \textcolor{keywordflow}{then}}
\DoxyCodeLine{67     \textcolor{keyword}{allocate}(ptr(ni,nj,nk))}
\DoxyCodeLine{68     ptr(:,:,:) = 0.0}
\DoxyCodeLine{69 \textcolor{keywordflow}{  endif}}

\end{DoxyCode}
\mbox{\Hypertarget{interfacemom__safe__alloc_1_1safe__alloc__ptr_adb80bbe755ca8e2161737ab9ac692016}\label{interfacemom__safe__alloc_1_1safe__alloc__ptr_adb80bbe755ca8e2161737ab9ac692016}} 
\index{mom\_safe\_alloc::safe\_alloc\_ptr@{mom\_safe\_alloc::safe\_alloc\_ptr}!safe\_alloc\_ptr\_3d\_6arg@{safe\_alloc\_ptr\_3d\_6arg}}
\index{safe\_alloc\_ptr\_3d\_6arg@{safe\_alloc\_ptr\_3d\_6arg}!mom\_safe\_alloc::safe\_alloc\_ptr@{mom\_safe\_alloc::safe\_alloc\_ptr}}
\subsubsection{\texorpdfstring{safe\_alloc\_ptr\_3d\_6arg()}{safe\_alloc\_ptr\_3d\_6arg()}}
{\footnotesize\ttfamily subroutine mom\+\_\+safe\+\_\+alloc\+::safe\+\_\+alloc\+\_\+ptr\+::safe\+\_\+alloc\+\_\+ptr\+\_\+3d\+\_\+6arg (\begin{DoxyParamCaption}\item[{real, dimension(\+:,\+:,\+:), pointer}]{ptr,  }\item[{integer, intent(in)}]{is,  }\item[{integer, intent(in)}]{ie,  }\item[{integer, intent(in)}]{js,  }\item[{integer, intent(in)}]{je,  }\item[{integer, intent(in)}]{ks,  }\item[{integer, intent(in)}]{ke }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Allocate a pointer to a 3-\/d array based on its index starting and ending values. 


\begin{DoxyParams}[1]{Parameters}
 & {\em ptr} & A pointer to allocate \\
\hline
\mbox{\texttt{ in}}  & {\em is} & The start index to allocate for the 1st dimension \\
\hline
\mbox{\texttt{ in}}  & {\em ie} & The end index to allocate for the 1st dimension \\
\hline
\mbox{\texttt{ in}}  & {\em js} & The start index to allocate for the 2nd dimension \\
\hline
\mbox{\texttt{ in}}  & {\em je} & The end index to allocate for the 2nd dimension \\
\hline
\mbox{\texttt{ in}}  & {\em ks} & The start index to allocate for the 3rd dimension \\
\hline
\mbox{\texttt{ in}}  & {\em ke} & The end index to allocate for the 3rd dimension \\
\hline
\end{DoxyParams}


Definition at line 101 of file M\+O\+M\+\_\+safe\+\_\+alloc.\+F90.


\begin{DoxyCode}{0}
\DoxyCodeLine{101 \textcolor{keywordtype}{  real}, \textcolor{keywordtype}{dimension(:,:,:)}, \textcolor{keywordtype}{pointer} :: ptr\textcolor{comment}{ !< A pointer to allocate}}
\DoxyCodeLine{102   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: is\textcolor{comment}{ !< The start index to allocate for the 1st dimension}}
\DoxyCodeLine{103   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ie\textcolor{comment}{ !< The end index to allocate for the 1st dimension}}
\DoxyCodeLine{104   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: js\textcolor{comment}{ !< The start index to allocate for the 2nd dimension}}
\DoxyCodeLine{105   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: je\textcolor{comment}{ !< The end index to allocate for the 2nd dimension}}
\DoxyCodeLine{106   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ks\textcolor{comment}{ !< The start index to allocate for the 3rd dimension}}
\DoxyCodeLine{107   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ke\textcolor{comment}{ !< The end index to allocate for the 3rd dimension}}
\DoxyCodeLine{108   \textcolor{keywordflow}{if} (.not.\textcolor{keyword}{associated}(ptr)) \textcolor{keywordflow}{then}}
\DoxyCodeLine{109     \textcolor{keyword}{allocate}(ptr(is:ie,js:je,ks:ke))}
\DoxyCodeLine{110     ptr(:,:,:) = 0.0}
\DoxyCodeLine{111 \textcolor{keywordflow}{  endif}}

\end{DoxyCode}


The documentation for this interface was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/home/cermak/src/\+M\+O\+M6.\+devrob/src/framework/M\+O\+M\+\_\+safe\+\_\+alloc.\+F90\end{DoxyCompactItemize}
