\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 \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 \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 \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 \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 \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 \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{\tt in}  & {\em i1} & The size of the array, or its starting index if i2 is present\\
\hline
\mbox{\tt 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}
36   \textcolor{keywordtype}{real}, \textcolor{keywordtype}{dimension(:)}, \textcolor{keywordtype}{pointer} :: ptr\textcolor{comment}{ !< A pointer to allocate}
37   \textcolor{keywordtype}{integer},            \textcolor{keywordtype}{intent(in)} :: i1\textcolor{comment}{ !< The size of the array, or its starting index if i2 is present}
38   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{optional},  \textcolor{keywordtype}{intent(in)} :: i2\textcolor{comment}{ !< The ending index of the array}
39   \textcolor{keywordflow}{if} (.not.\textcolor{keyword}{associated}(ptr)) \textcolor{keywordflow}{then}
40     \textcolor{keywordflow}{if} (\textcolor{keyword}{present}(i2)) \textcolor{keywordflow}{then}
41       \textcolor{keyword}{allocate}(ptr(i1:i2))
42     \textcolor{keywordflow}{else}
43       \textcolor{keyword}{allocate}(ptr(i1))
44 \textcolor{keywordflow}{    endif}
45     ptr(:) = 0.0
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{\tt in}  & {\em is} & The start index to allocate for the 1st dimension\\
\hline
\mbox{\tt in}  & {\em ie} & The end index to allocate for the 1st dimension\\
\hline
\mbox{\tt in}  & {\em js} & The start index to allocate for the 2nd dimension\\
\hline
\mbox{\tt 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}
74   \textcolor{keywordtype}{real}, \textcolor{keywordtype}{dimension(:,:)}, \textcolor{keywordtype}{pointer} :: ptr\textcolor{comment}{ !< A pointer to allocate}
75   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: is\textcolor{comment}{ !< The start index to allocate for the 1st dimension}
76   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ie\textcolor{comment}{ !< The end index to allocate for the 1st dimension}
77   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: js\textcolor{comment}{ !< The start index to allocate for the 2nd dimension}
78   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: je\textcolor{comment}{ !< The end index to allocate for the 2nd dimension}
79   \textcolor{keywordflow}{if} (.not.\textcolor{keyword}{associated}(ptr)) \textcolor{keywordflow}{then}
80     \textcolor{keyword}{allocate}(ptr(is:ie,js:je))
81     ptr(:,:) = 0.0
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{\tt in}  & {\em ni} & The size of the 1st dimension of the array\\
\hline
\mbox{\tt 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}
51   \textcolor{keywordtype}{real}, \textcolor{keywordtype}{dimension(:,:)}, \textcolor{keywordtype}{pointer} :: ptr\textcolor{comment}{ !< A pointer to allocate}
52   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ni\textcolor{comment}{ !< The size of the 1st dimension of the array}
53   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: nj\textcolor{comment}{ !< The size of the 2nd dimension of the array}
54   \textcolor{keywordflow}{if} (.not.\textcolor{keyword}{associated}(ptr)) \textcolor{keywordflow}{then}
55     \textcolor{keyword}{allocate}(ptr(ni,nj))
56     ptr(:,:) = 0.0
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{\tt in}  & {\em is} & The start index to allocate for the 1st dimension\\
\hline
\mbox{\tt in}  & {\em ie} & The end index to allocate for the 1st dimension\\
\hline
\mbox{\tt in}  & {\em js} & The start index to allocate for the 2nd dimension\\
\hline
\mbox{\tt in}  & {\em je} & The end index to allocate for the 2nd dimension\\
\hline
\mbox{\tt 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}
87   \textcolor{keywordtype}{real}, \textcolor{keywordtype}{dimension(:,:,:)}, \textcolor{keywordtype}{pointer} :: ptr\textcolor{comment}{ !< A pointer to allocate}
88   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: is\textcolor{comment}{ !< The start index to allocate for the 1st dimension}
89   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ie\textcolor{comment}{ !< The end index to allocate for the 1st dimension}
90   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: js\textcolor{comment}{ !< The start index to allocate for the 2nd dimension}
91   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: je\textcolor{comment}{ !< The end index to allocate for the 2nd dimension}
92   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: nk\textcolor{comment}{ !< The size to allocate for the 3rd dimension}
93   \textcolor{keywordflow}{if} (.not.\textcolor{keyword}{associated}(ptr)) \textcolor{keywordflow}{then}
94     \textcolor{keyword}{allocate}(ptr(is:ie,js:je,nk))
95     ptr(:,:,:) = 0.0
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{\tt in}  & {\em ni} & The size of the 1st dimension of the array\\
\hline
\mbox{\tt in}  & {\em nj} & The size of the 2nd dimension of the array\\
\hline
\mbox{\tt 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}
62   \textcolor{keywordtype}{real}, \textcolor{keywordtype}{dimension(:,:,:)}, \textcolor{keywordtype}{pointer} :: ptr\textcolor{comment}{ !< A pointer to allocate}
63   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ni\textcolor{comment}{ !< The size of the 1st dimension of the array}
64   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: nj\textcolor{comment}{ !< The size of the 2nd dimension of the array}
65   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: nk\textcolor{comment}{ !< The size of the 3rd dimension of the array}
66   \textcolor{keywordflow}{if} (.not.\textcolor{keyword}{associated}(ptr)) \textcolor{keywordflow}{then}
67     \textcolor{keyword}{allocate}(ptr(ni,nj,nk))
68     ptr(:,:,:) = 0.0
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{\tt in}  & {\em is} & The start index to allocate for the 1st dimension\\
\hline
\mbox{\tt in}  & {\em ie} & The end index to allocate for the 1st dimension\\
\hline
\mbox{\tt in}  & {\em js} & The start index to allocate for the 2nd dimension\\
\hline
\mbox{\tt in}  & {\em je} & The end index to allocate for the 2nd dimension\\
\hline
\mbox{\tt in}  & {\em ks} & The start index to allocate for the 3rd dimension\\
\hline
\mbox{\tt 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}
101   \textcolor{keywordtype}{real}, \textcolor{keywordtype}{dimension(:,:,:)}, \textcolor{keywordtype}{pointer} :: ptr\textcolor{comment}{ !< A pointer to allocate}
102   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: is\textcolor{comment}{ !< The start index to allocate for the 1st dimension}
103   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ie\textcolor{comment}{ !< The end index to allocate for the 1st dimension}
104   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: js\textcolor{comment}{ !< The start index to allocate for the 2nd dimension}
105   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: je\textcolor{comment}{ !< The end index to allocate for the 2nd dimension}
106   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ks\textcolor{comment}{ !< The start index to allocate for the 3rd dimension}
107   \textcolor{keywordtype}{integer}, \textcolor{keywordtype}{intent(in)} :: ke\textcolor{comment}{ !< The end index to allocate for the 3rd dimension}
108   \textcolor{keywordflow}{if} (.not.\textcolor{keyword}{associated}(ptr)) \textcolor{keywordflow}{then}
109     \textcolor{keyword}{allocate}(ptr(is:ie,js:je,ks:ke))
110     ptr(:,:,:) = 0.0
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}
