source: CPL/oasis3-mct/branches/OASIS3-MCT_5.0_branch/doc/doxygen/latex/namespacemod__oasis__grid.tex @ 6331

Last change on this file since 6331 was 6331, checked in by aclsce, 17 months ago

Moved oasis-mct_5.0 in oasis3-mct/branches directory.

File size: 30.7 KB
Line 
1\hypertarget{namespacemod__oasis__grid}{}\section{mod\+\_\+oasis\+\_\+grid Module Reference}
2\label{namespacemod__oasis__grid}\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
3
4
5O\+A\+S\+IS grid data and methods. 
6
7
8\subsection*{Data Types}
9\begin{DoxyCompactItemize}
10\item 
11interface \hyperlink{interfacemod__oasis__grid_1_1oasis__write__angle}{oasis\+\_\+write\+\_\+angle}
12\begin{DoxyCompactList}\small\item\em Generic interface to support writing 4 or 8 byte reals. \end{DoxyCompactList}\item 
13interface \hyperlink{interfacemod__oasis__grid_1_1oasis__write__area}{oasis\+\_\+write\+\_\+area}
14\begin{DoxyCompactList}\small\item\em Generic interface to support writing 4 or 8 byte reals. \end{DoxyCompactList}\item 
15interface \hyperlink{interfacemod__oasis__grid_1_1oasis__write__corner}{oasis\+\_\+write\+\_\+corner}
16\begin{DoxyCompactList}\small\item\em Generic interface to support writing 4 or 8 byte reals. \end{DoxyCompactList}\item 
17interface \hyperlink{interfacemod__oasis__grid_1_1oasis__write__grid}{oasis\+\_\+write\+\_\+grid}
18\begin{DoxyCompactList}\small\item\em Generic interface to support writing 4 or 8 byte reals. \end{DoxyCompactList}\item 
19type \hyperlink{structmod__oasis__grid_1_1prism__grid__type}{prism\+\_\+grid\+\_\+type}
20\begin{DoxyCompactList}\small\item\em Model grid data for creating mapping data and conserving fields. \end{DoxyCompactList}\end{DoxyCompactItemize}
21\subsection*{Functions/\+Subroutines}
22\begin{DoxyCompactItemize}
23\item 
24subroutine, public \hyperlink{namespacemod__oasis__grid_a4bc230ba4aa317f666bdab2416b4f6da}{oasis\+\_\+print\+\_\+grid\+\_\+data} ()
25\begin{DoxyCompactList}\small\item\em Print grid information to log file. \end{DoxyCompactList}\item 
26subroutine, public \hyperlink{namespacemod__oasis__grid_acb0569d8677f0762559ed6b211945d9b}{oasis\+\_\+start\+\_\+grids\+\_\+writing} (iwrite)
27\begin{DoxyCompactList}\small\item\em User interface to initialize grid writing. \end{DoxyCompactList}\item 
28subroutine \hyperlink{namespacemod__oasis__grid_a61a1b9209b5012b58fadf2a79284e1e7}{oasis\+\_\+write\+\_\+grid\+\_\+r8} (cgrid, nx, ny, lon, lat, partid)
29\begin{DoxyCompactList}\small\item\em User interface to set latitudes and longitudes for 8 byte reals. \end{DoxyCompactList}\item 
30subroutine \hyperlink{namespacemod__oasis__grid_a74137e0541f8a9e2b1f05918b7f8da17}{oasis\+\_\+write\+\_\+grid\+\_\+r4} (cgrid, nx, ny, lon, lat, partid)
31\begin{DoxyCompactList}\small\item\em User interface to set latitudes and longitudes for 4 byte reals. \end{DoxyCompactList}\item 
32subroutine \hyperlink{namespacemod__oasis__grid_a5ffeb1d150d305f2868114faf7ebddb2}{oasis\+\_\+write\+\_\+angle\+\_\+r8} (cgrid, nx, ny, angle, partid)
33\begin{DoxyCompactList}\small\item\em User interface to set angle for 8 byte reals. \end{DoxyCompactList}\item 
34subroutine \hyperlink{namespacemod__oasis__grid_aa4f44626552980d5418d77447e1ce058}{oasis\+\_\+write\+\_\+angle\+\_\+r4} (cgrid, nx, ny, angle, partid)
35\begin{DoxyCompactList}\small\item\em User interface to set angle for 4 byte reals. \end{DoxyCompactList}\item 
36subroutine \hyperlink{namespacemod__oasis__grid_af6953999aa6fb1d0190187052bf52671}{oasis\+\_\+write\+\_\+corner\+\_\+r8} (cgrid, nx, ny, nc, clon, clat, partid)
37\begin{DoxyCompactList}\small\item\em User interface to set corner latitudes and longitudes for 8 byte reals. \end{DoxyCompactList}\item 
38subroutine \hyperlink{namespacemod__oasis__grid_a30e5d9c4766b2f323d4b930499e0f23b}{oasis\+\_\+write\+\_\+corner\+\_\+r4} (cgrid, nx, ny, nc, clon, clat, partid)
39\begin{DoxyCompactList}\small\item\em User interface to set corner latitudes and longitudes for 4 byte reals. \end{DoxyCompactList}\item 
40subroutine, public \hyperlink{namespacemod__oasis__grid_a16906db2b252a3a5ce85e21aa1336e3b}{oasis\+\_\+write\+\_\+mask} (cgrid, nx, ny, mask, partid)
41\begin{DoxyCompactList}\small\item\em User interface to set integer mask values. \end{DoxyCompactList}\item 
42subroutine \hyperlink{namespacemod__oasis__grid_ae54eaec7b4e9d4877af0ce8537b0b256}{oasis\+\_\+write\+\_\+area\+\_\+r8} (cgrid, nx, ny, area, partid)
43\begin{DoxyCompactList}\small\item\em User interface to set area values for 8 byte reals. \end{DoxyCompactList}\item 
44subroutine \hyperlink{namespacemod__oasis__grid_ad1d3e95cf63a2277b82167ec6c8148d4}{oasis\+\_\+write\+\_\+area\+\_\+r4} (cgrid, nx, ny, area, partid)
45\begin{DoxyCompactList}\small\item\em User interface to set area values for 4 byte reals. \end{DoxyCompactList}\item 
46subroutine, public \hyperlink{namespacemod__oasis__grid_a59755e271ccdd0c98807b5938ef33e78}{oasis\+\_\+terminate\+\_\+grids\+\_\+writing} ()
47\begin{DoxyCompactList}\small\item\em User interface to indicate user defined grids are done. \end{DoxyCompactList}\item 
48subroutine, public \hyperlink{namespacemod__oasis__grid_a275791c512cefae9799e188d92b6f9d4}{oasis\+\_\+write2files} ()
49\begin{DoxyCompactList}\small\item\em Interface that actually writes fields to grid files. \end{DoxyCompactList}\item 
50subroutine \hyperlink{namespacemod__oasis__grid_aa1b2c3dc81299472185c1e7142d143e0}{oasis\+\_\+findgrid} (cgrid, nx, ny, grid\+ID)
51\begin{DoxyCompactList}\small\item\em Local interface to find grid\+ID for a specified grid name. \end{DoxyCompactList}\item 
52subroutine \hyperlink{namespacemod__oasis__grid_a5aba1fce549be5f9db2fda5374d588e1}{oasis\+\_\+grid\+\_\+loc2glo} (aloc, aglo, partid, taskid)
53\begin{DoxyCompactList}\small\item\em Local routine that gathers the local array using partition information. \end{DoxyCompactList}\end{DoxyCompactItemize}
54\subsection*{Variables}
55\begin{DoxyCompactItemize}
56\item 
57integer(kind=ip\+\_\+intwp\+\_\+p), parameter \hyperlink{namespacemod__oasis__grid_a9df267c5d7acbb73eb35d6aaf10ab59e}{mgrid} = 100
58\begin{DoxyCompactList}\small\item\em maximum number of grids allowed \end{DoxyCompactList}\item 
59integer(kind=ip\+\_\+intwp\+\_\+p), save \hyperlink{namespacemod__oasis__grid_a587c160986cc015e4367b1cca13babfb}{writing\+\_\+grids\+\_\+call} =0
60\item 
61integer(kind=ip\+\_\+intwp\+\_\+p), save, public \hyperlink{namespacemod__oasis__grid_ad6e65eb9872825ac98db6ce1f7dcd618}{prism\+\_\+ngrid} = 0
62\begin{DoxyCompactList}\small\item\em counter for grids \end{DoxyCompactList}\item 
63type(\hyperlink{structmod__oasis__grid_1_1prism__grid__type}{prism\+\_\+grid\+\_\+type}), dimension(\hyperlink{namespacemod__oasis__grid_a9df267c5d7acbb73eb35d6aaf10ab59e}{mgrid}), save, public \hyperlink{namespacemod__oasis__grid_a43b75282e77fd687bd7173f4f78abcb1}{prism\+\_\+grid}
64\begin{DoxyCompactList}\small\item\em array of grid datatypes \end{DoxyCompactList}\item 
65logical, parameter \hyperlink{namespacemod__oasis__grid_a88908301f4dba06278e75e79f90b1155}{local\+\_\+timers\+\_\+on} = .false.
66\end{DoxyCompactItemize}
67
68
69\subsection{Detailed Description}
70O\+A\+S\+IS grid data and methods.
71
72These interfaces support both grid data specified globally on the root task as required in Oasis3 and grid data decomposed across tasks. If grid data is decomposed across tasks, the optional partid argument must be specified when it exists in the interface.
73
74\subsection{Function/\+Subroutine Documentation}
75\mbox{\Hypertarget{namespacemod__oasis__grid_aa1b2c3dc81299472185c1e7142d143e0}\label{namespacemod__oasis__grid_aa1b2c3dc81299472185c1e7142d143e0}} 
76\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+findgrid@{oasis\+\_\+findgrid}}
77\index{oasis\+\_\+findgrid@{oasis\+\_\+findgrid}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
78\subsubsection{\texorpdfstring{oasis\+\_\+findgrid()}{oasis\_findgrid()}}
79{\footnotesize\ttfamily subroutine mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+findgrid (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{cgrid,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{nx,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{ny,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(out)}]{grid\+ID }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
80
81
82
83Local interface to find grid\+ID for a specified grid name.
84
85
86\begin{DoxyParams}[1]{Parameters}
87\mbox{\tt in}  & {\em cgrid} & grid name\\
88\hline
89\mbox{\tt in}  & {\em nx} & global nx size\\
90\hline
91\mbox{\tt in}  & {\em ny} & global ny size\\
92\hline
93\mbox{\tt out}  & {\em gridid} & grid\+ID matching cgrid \\
94\hline
95\end{DoxyParams}
96
97
98Definition at line 1217 of file mod\+\_\+oasis\+\_\+grid.\+F90.
99
100\mbox{\Hypertarget{namespacemod__oasis__grid_a5aba1fce549be5f9db2fda5374d588e1}\label{namespacemod__oasis__grid_a5aba1fce549be5f9db2fda5374d588e1}} 
101\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+grid\+\_\+loc2glo@{oasis\+\_\+grid\+\_\+loc2glo}}
102\index{oasis\+\_\+grid\+\_\+loc2glo@{oasis\+\_\+grid\+\_\+loc2glo}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
103\subsubsection{\texorpdfstring{oasis\+\_\+grid\+\_\+loc2glo()}{oasis\_grid\_loc2glo()}}
104{\footnotesize\ttfamily subroutine mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+grid\+\_\+loc2glo (\begin{DoxyParamCaption}\item[{real(kind=ip\+\_\+realwp\+\_\+p), dimension(\+:,\+:), intent(in)}]{aloc,  }\item[{real(kind=ip\+\_\+realwp\+\_\+p), dimension(\+:,\+:), intent(inout)}]{aglo,  }\item[{integer(kind=ip\+\_\+i4\+\_\+p), intent(in)}]{partid,  }\item[{integer(kind=ip\+\_\+i4\+\_\+p), intent(in)}]{taskid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
105
106
107
108Local routine that gathers the local array using partition information.
109
110
111\begin{DoxyParams}[1]{Parameters}
112\mbox{\tt in}  & {\em aloc} & local array\\
113\hline
114\mbox{\tt in,out}  & {\em aglo} & global array\\
115\hline
116\mbox{\tt in}  & {\em partid} & partition id for local data\\
117\hline
118\mbox{\tt in}  & {\em taskid} & task id to gather data to \\
119\hline
120\end{DoxyParams}
121
122
123Definition at line 1267 of file mod\+\_\+oasis\+\_\+grid.\+F90.
124
125\mbox{\Hypertarget{namespacemod__oasis__grid_a4bc230ba4aa317f666bdab2416b4f6da}\label{namespacemod__oasis__grid_a4bc230ba4aa317f666bdab2416b4f6da}} 
126\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+print\+\_\+grid\+\_\+data@{oasis\+\_\+print\+\_\+grid\+\_\+data}}
127\index{oasis\+\_\+print\+\_\+grid\+\_\+data@{oasis\+\_\+print\+\_\+grid\+\_\+data}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
128\subsubsection{\texorpdfstring{oasis\+\_\+print\+\_\+grid\+\_\+data()}{oasis\_print\_grid\_data()}}
129{\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+print\+\_\+grid\+\_\+data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
130
131
132
133Print grid information to log file.
134
135
136
137Definition at line 156 of file mod\+\_\+oasis\+\_\+grid.\+F90.
138
139\mbox{\Hypertarget{namespacemod__oasis__grid_acb0569d8677f0762559ed6b211945d9b}\label{namespacemod__oasis__grid_acb0569d8677f0762559ed6b211945d9b}} 
140\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+start\+\_\+grids\+\_\+writing@{oasis\+\_\+start\+\_\+grids\+\_\+writing}}
141\index{oasis\+\_\+start\+\_\+grids\+\_\+writing@{oasis\+\_\+start\+\_\+grids\+\_\+writing}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
142\subsubsection{\texorpdfstring{oasis\+\_\+start\+\_\+grids\+\_\+writing()}{oasis\_start\_grids\_writing()}}
143{\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+start\+\_\+grids\+\_\+writing (\begin{DoxyParamCaption}\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(out)}]{iwrite }\end{DoxyParamCaption})}
144
145
146
147User interface to initialize grid writing.
148
149
150\begin{DoxyParams}[1]{Parameters}
151\mbox{\tt out}  & {\em iwrite} & flag, obsolete \\
152\hline
153\end{DoxyParams}
154
155
156Definition at line 213 of file mod\+\_\+oasis\+\_\+grid.\+F90.
157
158\mbox{\Hypertarget{namespacemod__oasis__grid_a59755e271ccdd0c98807b5938ef33e78}\label{namespacemod__oasis__grid_a59755e271ccdd0c98807b5938ef33e78}} 
159\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+terminate\+\_\+grids\+\_\+writing@{oasis\+\_\+terminate\+\_\+grids\+\_\+writing}}
160\index{oasis\+\_\+terminate\+\_\+grids\+\_\+writing@{oasis\+\_\+terminate\+\_\+grids\+\_\+writing}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
161\subsubsection{\texorpdfstring{oasis\+\_\+terminate\+\_\+grids\+\_\+writing()}{oasis\_terminate\_grids\_writing()}}
162{\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+terminate\+\_\+grids\+\_\+writing (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
163
164
165
166User interface to indicate user defined grids are done.
167
168
169
170Definition at line 822 of file mod\+\_\+oasis\+\_\+grid.\+F90.
171
172\mbox{\Hypertarget{namespacemod__oasis__grid_a275791c512cefae9799e188d92b6f9d4}\label{namespacemod__oasis__grid_a275791c512cefae9799e188d92b6f9d4}} 
173\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+write2files@{oasis\+\_\+write2files}}
174\index{oasis\+\_\+write2files@{oasis\+\_\+write2files}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
175\subsubsection{\texorpdfstring{oasis\+\_\+write2files()}{oasis\_write2files()}}
176{\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+write2files (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
177
178
179
180Interface that actually writes fields to grid files.
181
182Write fields to grid files. Only write fields that have been buffered and if prism\+\_\+grid\+\_\+terminate\+\_\+grids\+\_\+writing has been called. This is called by all tasks from oasis\+\_\+enddef.
183
184
185\begin{DoxyItemize}
186\item Check that a grid defined on a partitition is defined on all tasks on that partition.
187\item Write grid information
188\begin{DoxyItemize}
189\item Determine which tasks are associated with the grid information
190\item Check that array sizes match for all fields
191\item Gather longitudes if needed and write from root
192\item Gather latitudes if needed and write from root
193\item Gather corner longitudes if needed and write from root
194\item Gather corner latitudes if needed and write from root
195\item Gather areas if needed and write from root
196\item Gather angles if needed and write from root
197\item Gather masks if needed and write from root
198\end{DoxyItemize}
199\end{DoxyItemize}
200
201Definition at line 855 of file mod\+\_\+oasis\+\_\+grid.\+F90.
202
203\mbox{\Hypertarget{namespacemod__oasis__grid_aa4f44626552980d5418d77447e1ce058}\label{namespacemod__oasis__grid_aa4f44626552980d5418d77447e1ce058}} 
204\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+write\+\_\+angle\+\_\+r4@{oasis\+\_\+write\+\_\+angle\+\_\+r4}}
205\index{oasis\+\_\+write\+\_\+angle\+\_\+r4@{oasis\+\_\+write\+\_\+angle\+\_\+r4}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
206\subsubsection{\texorpdfstring{oasis\+\_\+write\+\_\+angle\+\_\+r4()}{oasis\_write\_angle\_r4()}}
207{\footnotesize\ttfamily subroutine mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+write\+\_\+angle\+\_\+r4 (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{cgrid,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{nx,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{ny,  }\item[{real(kind=ip\+\_\+single\+\_\+p), dimension(\+:,\+:), intent(in)}]{angle,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in), optional}]{partid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
208
209
210
211User interface to set angle for 4 byte reals.
212
213
214\begin{DoxyParams}[1]{Parameters}
215\mbox{\tt in}  & {\em cgrid} & grid name\\
216\hline
217\mbox{\tt in}  & {\em nx} & global nx size\\
218\hline
219\mbox{\tt in}  & {\em ny} & global ny size\\
220\hline
221\mbox{\tt in}  & {\em angle} & angles\\
222\hline
223\mbox{\tt in}  & {\em partid} & partition id if nonglobal data \\
224\hline
225\end{DoxyParams}
226
227
228Definition at line 450 of file mod\+\_\+oasis\+\_\+grid.\+F90.
229
230\mbox{\Hypertarget{namespacemod__oasis__grid_a5ffeb1d150d305f2868114faf7ebddb2}\label{namespacemod__oasis__grid_a5ffeb1d150d305f2868114faf7ebddb2}} 
231\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+write\+\_\+angle\+\_\+r8@{oasis\+\_\+write\+\_\+angle\+\_\+r8}}
232\index{oasis\+\_\+write\+\_\+angle\+\_\+r8@{oasis\+\_\+write\+\_\+angle\+\_\+r8}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
233\subsubsection{\texorpdfstring{oasis\+\_\+write\+\_\+angle\+\_\+r8()}{oasis\_write\_angle\_r8()}}
234{\footnotesize\ttfamily subroutine mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+write\+\_\+angle\+\_\+r8 (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{cgrid,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{nx,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{ny,  }\item[{real(kind=ip\+\_\+double\+\_\+p), dimension(\+:,\+:), intent(in)}]{angle,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in), optional}]{partid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
235
236
237
238User interface to set angle for 8 byte reals.
239
240
241\begin{DoxyParams}[1]{Parameters}
242\mbox{\tt in}  & {\em cgrid} & grid name\\
243\hline
244\mbox{\tt in}  & {\em nx} & global nx size\\
245\hline
246\mbox{\tt in}  & {\em ny} & global ny size\\
247\hline
248\mbox{\tt in}  & {\em angle} & angles\\
249\hline
250\mbox{\tt in}  & {\em partid} & partition id if nonglobal data \\
251\hline
252\end{DoxyParams}
253
254
255Definition at line 392 of file mod\+\_\+oasis\+\_\+grid.\+F90.
256
257\mbox{\Hypertarget{namespacemod__oasis__grid_ad1d3e95cf63a2277b82167ec6c8148d4}\label{namespacemod__oasis__grid_ad1d3e95cf63a2277b82167ec6c8148d4}} 
258\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+write\+\_\+area\+\_\+r4@{oasis\+\_\+write\+\_\+area\+\_\+r4}}
259\index{oasis\+\_\+write\+\_\+area\+\_\+r4@{oasis\+\_\+write\+\_\+area\+\_\+r4}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
260\subsubsection{\texorpdfstring{oasis\+\_\+write\+\_\+area\+\_\+r4()}{oasis\_write\_area\_r4()}}
261{\footnotesize\ttfamily subroutine mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+write\+\_\+area\+\_\+r4 (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{cgrid,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{nx,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{ny,  }\item[{real(kind=ip\+\_\+single\+\_\+p), dimension(\+:,\+:), intent(in)}]{area,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in), optional}]{partid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
262
263
264
265User interface to set area values for 4 byte reals.
266
267
268\begin{DoxyParams}[1]{Parameters}
269\mbox{\tt in}  & {\em cgrid} & grid name\\
270\hline
271\mbox{\tt in}  & {\em nx} & global nx size\\
272\hline
273\mbox{\tt in}  & {\em ny} & global ny size\\
274\hline
275\mbox{\tt in}  & {\em area} & areas\\
276\hline
277\mbox{\tt in}  & {\em partid} & partition id if nonglobal data \\
278\hline
279\end{DoxyParams}
280
281
282Definition at line 764 of file mod\+\_\+oasis\+\_\+grid.\+F90.
283
284\mbox{\Hypertarget{namespacemod__oasis__grid_ae54eaec7b4e9d4877af0ce8537b0b256}\label{namespacemod__oasis__grid_ae54eaec7b4e9d4877af0ce8537b0b256}} 
285\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+write\+\_\+area\+\_\+r8@{oasis\+\_\+write\+\_\+area\+\_\+r8}}
286\index{oasis\+\_\+write\+\_\+area\+\_\+r8@{oasis\+\_\+write\+\_\+area\+\_\+r8}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
287\subsubsection{\texorpdfstring{oasis\+\_\+write\+\_\+area\+\_\+r8()}{oasis\_write\_area\_r8()}}
288{\footnotesize\ttfamily subroutine mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+write\+\_\+area\+\_\+r8 (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{cgrid,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{nx,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{ny,  }\item[{real(kind=ip\+\_\+double\+\_\+p), dimension(\+:,\+:), intent(in)}]{area,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in), optional}]{partid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
289
290
291
292User interface to set area values for 8 byte reals.
293
294
295\begin{DoxyParams}[1]{Parameters}
296\mbox{\tt in}  & {\em cgrid} & grid name\\
297\hline
298\mbox{\tt in}  & {\em nx} & global nx size\\
299\hline
300\mbox{\tt in}  & {\em ny} & global ny size\\
301\hline
302\mbox{\tt in}  & {\em area} & areas\\
303\hline
304\mbox{\tt in}  & {\em partid} & partition id if nonglobal data \\
305\hline
306\end{DoxyParams}
307
308
309Definition at line 705 of file mod\+\_\+oasis\+\_\+grid.\+F90.
310
311\mbox{\Hypertarget{namespacemod__oasis__grid_a30e5d9c4766b2f323d4b930499e0f23b}\label{namespacemod__oasis__grid_a30e5d9c4766b2f323d4b930499e0f23b}} 
312\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+write\+\_\+corner\+\_\+r4@{oasis\+\_\+write\+\_\+corner\+\_\+r4}}
313\index{oasis\+\_\+write\+\_\+corner\+\_\+r4@{oasis\+\_\+write\+\_\+corner\+\_\+r4}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
314\subsubsection{\texorpdfstring{oasis\+\_\+write\+\_\+corner\+\_\+r4()}{oasis\_write\_corner\_r4()}}
315{\footnotesize\ttfamily subroutine mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+write\+\_\+corner\+\_\+r4 (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{cgrid,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{nx,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{ny,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{nc,  }\item[{real(kind=ip\+\_\+single\+\_\+p), dimension(\+:,\+:,\+:), intent(in)}]{clon,  }\item[{real(kind=ip\+\_\+single\+\_\+p), dimension(\+:,\+:,\+:), intent(in)}]{clat,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in), optional}]{partid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
316
317
318
319User interface to set corner latitudes and longitudes for 4 byte reals.
320
321
322\begin{DoxyParams}[1]{Parameters}
323\mbox{\tt in}  & {\em cgrid} & grid name\\
324\hline
325\mbox{\tt in}  & {\em nx} & global nx size\\
326\hline
327\mbox{\tt in}  & {\em ny} & global ny size\\
328\hline
329\mbox{\tt in}  & {\em nc} & number of corners per cell\\
330\hline
331\mbox{\tt in}  & {\em clon} & corner longitudes\\
332\hline
333\mbox{\tt in}  & {\em clat} & corner latitudes\\
334\hline
335\mbox{\tt in}  & {\em partid} & partition id if nonglobal data \\
336\hline
337\end{DoxyParams}
338
339
340Definition at line 577 of file mod\+\_\+oasis\+\_\+grid.\+F90.
341
342\mbox{\Hypertarget{namespacemod__oasis__grid_af6953999aa6fb1d0190187052bf52671}\label{namespacemod__oasis__grid_af6953999aa6fb1d0190187052bf52671}} 
343\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+write\+\_\+corner\+\_\+r8@{oasis\+\_\+write\+\_\+corner\+\_\+r8}}
344\index{oasis\+\_\+write\+\_\+corner\+\_\+r8@{oasis\+\_\+write\+\_\+corner\+\_\+r8}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
345\subsubsection{\texorpdfstring{oasis\+\_\+write\+\_\+corner\+\_\+r8()}{oasis\_write\_corner\_r8()}}
346{\footnotesize\ttfamily subroutine mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+write\+\_\+corner\+\_\+r8 (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{cgrid,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{nx,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{ny,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{nc,  }\item[{real(kind=ip\+\_\+double\+\_\+p), dimension(\+:,\+:,\+:), intent(in)}]{clon,  }\item[{real(kind=ip\+\_\+double\+\_\+p), dimension(\+:,\+:,\+:), intent(in)}]{clat,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in), optional}]{partid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
347
348
349
350User interface to set corner latitudes and longitudes for 8 byte reals.
351
352
353\begin{DoxyParams}[1]{Parameters}
354\mbox{\tt in}  & {\em cgrid} & grid name\\
355\hline
356\mbox{\tt in}  & {\em nx} & global nx size\\
357\hline
358\mbox{\tt in}  & {\em ny} & global ny size\\
359\hline
360\mbox{\tt in}  & {\em nc} & number of corners per cell\\
361\hline
362\mbox{\tt in}  & {\em clon} & corner longitudes\\
363\hline
364\mbox{\tt in}  & {\em clat} & corner latitudes\\
365\hline
366\mbox{\tt in}  & {\em partid} & partition id if nonglobal data \\
367\hline
368\end{DoxyParams}
369
370
371Definition at line 507 of file mod\+\_\+oasis\+\_\+grid.\+F90.
372
373\mbox{\Hypertarget{namespacemod__oasis__grid_a74137e0541f8a9e2b1f05918b7f8da17}\label{namespacemod__oasis__grid_a74137e0541f8a9e2b1f05918b7f8da17}} 
374\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+write\+\_\+grid\+\_\+r4@{oasis\+\_\+write\+\_\+grid\+\_\+r4}}
375\index{oasis\+\_\+write\+\_\+grid\+\_\+r4@{oasis\+\_\+write\+\_\+grid\+\_\+r4}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
376\subsubsection{\texorpdfstring{oasis\+\_\+write\+\_\+grid\+\_\+r4()}{oasis\_write\_grid\_r4()}}
377{\footnotesize\ttfamily subroutine mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+write\+\_\+grid\+\_\+r4 (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{cgrid,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{nx,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{ny,  }\item[{real(kind=ip\+\_\+single\+\_\+p), dimension(\+:,\+:), intent(in)}]{lon,  }\item[{real(kind=ip\+\_\+single\+\_\+p), dimension(\+:,\+:), intent(in)}]{lat,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in), optional}]{partid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
378
379
380
381User interface to set latitudes and longitudes for 4 byte reals.
382
383
384\begin{DoxyParams}[1]{Parameters}
385\mbox{\tt in}  & {\em cgrid} & grid name\\
386\hline
387\mbox{\tt in}  & {\em nx} & global nx size\\
388\hline
389\mbox{\tt in}  & {\em ny} & global ny size\\
390\hline
391\mbox{\tt in}  & {\em lon} & longitudes\\
392\hline
393\mbox{\tt in}  & {\em lat} & latitudes\\
394\hline
395\mbox{\tt in}  & {\em partid} & partition id if nonglobal data \\
396\hline
397\end{DoxyParams}
398
399
400Definition at line 324 of file mod\+\_\+oasis\+\_\+grid.\+F90.
401
402\mbox{\Hypertarget{namespacemod__oasis__grid_a61a1b9209b5012b58fadf2a79284e1e7}\label{namespacemod__oasis__grid_a61a1b9209b5012b58fadf2a79284e1e7}} 
403\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+write\+\_\+grid\+\_\+r8@{oasis\+\_\+write\+\_\+grid\+\_\+r8}}
404\index{oasis\+\_\+write\+\_\+grid\+\_\+r8@{oasis\+\_\+write\+\_\+grid\+\_\+r8}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
405\subsubsection{\texorpdfstring{oasis\+\_\+write\+\_\+grid\+\_\+r8()}{oasis\_write\_grid\_r8()}}
406{\footnotesize\ttfamily subroutine mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+write\+\_\+grid\+\_\+r8 (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{cgrid,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{nx,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{ny,  }\item[{real(kind=ip\+\_\+double\+\_\+p), dimension(\+:,\+:), intent(in)}]{lon,  }\item[{real(kind=ip\+\_\+double\+\_\+p), dimension(\+:,\+:), intent(in)}]{lat,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in), optional}]{partid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
407
408
409
410User interface to set latitudes and longitudes for 8 byte reals.
411
412
413\begin{DoxyParams}[1]{Parameters}
414\mbox{\tt in}  & {\em cgrid} & grid name\\
415\hline
416\mbox{\tt in}  & {\em nx} & global nx size\\
417\hline
418\mbox{\tt in}  & {\em ny} & global ny size\\
419\hline
420\mbox{\tt in}  & {\em lon} & longitudes\\
421\hline
422\mbox{\tt in}  & {\em lat} & latitudes\\
423\hline
424\mbox{\tt in}  & {\em partid} & partition id if nonglobal data \\
425\hline
426\end{DoxyParams}
427
428
429Definition at line 255 of file mod\+\_\+oasis\+\_\+grid.\+F90.
430
431\mbox{\Hypertarget{namespacemod__oasis__grid_a16906db2b252a3a5ce85e21aa1336e3b}\label{namespacemod__oasis__grid_a16906db2b252a3a5ce85e21aa1336e3b}} 
432\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!oasis\+\_\+write\+\_\+mask@{oasis\+\_\+write\+\_\+mask}}
433\index{oasis\+\_\+write\+\_\+mask@{oasis\+\_\+write\+\_\+mask}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
434\subsubsection{\texorpdfstring{oasis\+\_\+write\+\_\+mask()}{oasis\_write\_mask()}}
435{\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+grid\+::oasis\+\_\+write\+\_\+mask (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{cgrid,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{nx,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in)}]{ny,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), dimension(\+:,\+:), intent(in)}]{mask,  }\item[{integer(kind=ip\+\_\+intwp\+\_\+p), intent(in), optional}]{partid }\end{DoxyParamCaption})}
436
437
438
439User interface to set integer mask values.
440
441
442\begin{DoxyParams}[1]{Parameters}
443\mbox{\tt in}  & {\em cgrid} & grid name\\
444\hline
445\mbox{\tt in}  & {\em nx} & global nx size\\
446\hline
447\mbox{\tt in}  & {\em ny} & global ny size\\
448\hline
449\mbox{\tt in}  & {\em mask} & mask array\\
450\hline
451\mbox{\tt in}  & {\em partid} & partition id if nonglobal data \\
452\hline
453\end{DoxyParams}
454
455
456Definition at line 646 of file mod\+\_\+oasis\+\_\+grid.\+F90.
457
458
459
460\subsection{Variable Documentation}
461\mbox{\Hypertarget{namespacemod__oasis__grid_a88908301f4dba06278e75e79f90b1155}\label{namespacemod__oasis__grid_a88908301f4dba06278e75e79f90b1155}} 
462\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!local\+\_\+timers\+\_\+on@{local\+\_\+timers\+\_\+on}}
463\index{local\+\_\+timers\+\_\+on@{local\+\_\+timers\+\_\+on}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
464\subsubsection{\texorpdfstring{local\+\_\+timers\+\_\+on}{local\_timers\_on}}
465{\footnotesize\ttfamily logical, parameter mod\+\_\+oasis\+\_\+grid\+::local\+\_\+timers\+\_\+on = .false.\hspace{0.3cm}{\ttfamily [private]}}
466
467
468
469Definition at line 141 of file mod\+\_\+oasis\+\_\+grid.\+F90.
470
471\mbox{\Hypertarget{namespacemod__oasis__grid_a9df267c5d7acbb73eb35d6aaf10ab59e}\label{namespacemod__oasis__grid_a9df267c5d7acbb73eb35d6aaf10ab59e}} 
472\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!mgrid@{mgrid}}
473\index{mgrid@{mgrid}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
474\subsubsection{\texorpdfstring{mgrid}{mgrid}}
475{\footnotesize\ttfamily integer(kind=ip\+\_\+intwp\+\_\+p), parameter mod\+\_\+oasis\+\_\+grid\+::mgrid = 100\hspace{0.3cm}{\ttfamily [private]}}
476
477
478
479maximum number of grids allowed
480
481
482
483Definition at line 113 of file mod\+\_\+oasis\+\_\+grid.\+F90.
484
485\mbox{\Hypertarget{namespacemod__oasis__grid_a43b75282e77fd687bd7173f4f78abcb1}\label{namespacemod__oasis__grid_a43b75282e77fd687bd7173f4f78abcb1}} 
486\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!prism\+\_\+grid@{prism\+\_\+grid}}
487\index{prism\+\_\+grid@{prism\+\_\+grid}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
488\subsubsection{\texorpdfstring{prism\+\_\+grid}{prism\_grid}}
489{\footnotesize\ttfamily type(\hyperlink{structmod__oasis__grid_1_1prism__grid__type}{prism\+\_\+grid\+\_\+type}), dimension(\hyperlink{namespacemod__oasis__grid_a9df267c5d7acbb73eb35d6aaf10ab59e}{mgrid}), save, public mod\+\_\+oasis\+\_\+grid\+::prism\+\_\+grid}
490
491
492
493array of grid datatypes
494
495
496
497Definition at line 140 of file mod\+\_\+oasis\+\_\+grid.\+F90.
498
499\mbox{\Hypertarget{namespacemod__oasis__grid_ad6e65eb9872825ac98db6ce1f7dcd618}\label{namespacemod__oasis__grid_ad6e65eb9872825ac98db6ce1f7dcd618}} 
500\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!prism\+\_\+ngrid@{prism\+\_\+ngrid}}
501\index{prism\+\_\+ngrid@{prism\+\_\+ngrid}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
502\subsubsection{\texorpdfstring{prism\+\_\+ngrid}{prism\_ngrid}}
503{\footnotesize\ttfamily integer(kind=ip\+\_\+intwp\+\_\+p), save, public mod\+\_\+oasis\+\_\+grid\+::prism\+\_\+ngrid = 0}
504
505
506
507counter for grids
508
509
510
511Definition at line 139 of file mod\+\_\+oasis\+\_\+grid.\+F90.
512
513\mbox{\Hypertarget{namespacemod__oasis__grid_a587c160986cc015e4367b1cca13babfb}\label{namespacemod__oasis__grid_a587c160986cc015e4367b1cca13babfb}} 
514\index{mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}!writing\+\_\+grids\+\_\+call@{writing\+\_\+grids\+\_\+call}}
515\index{writing\+\_\+grids\+\_\+call@{writing\+\_\+grids\+\_\+call}!mod\+\_\+oasis\+\_\+grid@{mod\+\_\+oasis\+\_\+grid}}
516\subsubsection{\texorpdfstring{writing\+\_\+grids\+\_\+call}{writing\_grids\_call}}
517{\footnotesize\ttfamily integer(kind=ip\+\_\+intwp\+\_\+p), save mod\+\_\+oasis\+\_\+grid\+::writing\+\_\+grids\+\_\+call =0\hspace{0.3cm}{\ttfamily [private]}}
518
519
520
521Definition at line 114 of file mod\+\_\+oasis\+\_\+grid.\+F90.
522
Note: See TracBrowser for help on using the repository browser.