next up previous
Next: prism_def_partition Up: Grids and related quantities Previous: prism_set_corners


prism_set_mask

prism_set_mask(mask_id, grid_id, mask_actual_shape, mask_array,
new_mask, ierror)




Table 5.11: prism_set_mask arguments
\begin{table}
% latex2html id marker 1264
\begin{tabularx}{16cm}[t]{\vert l\ver...
...\texttt{Integer}&
returned error code\\
\hline
\end{tabularx}\end{table}




This routine defines a mask array. Different masks can be defined for the same grid. One particular mask will be attached to a field by specifying the corresponding mask_id in the prism_def_var call used to declare the field (see section 5.4.1). The shape of mask_array is given in table 5.12 for the different grid types.


Table 5.12: Dimensions of mask_array for the various grid_type; i, j, k, npt_hor are the extent of the respective numerical dimensions (see table 5.8).
\begin{table}\begin{tabularx}{8.2cm}[t]{\vert l\vert l\vert}
\hline
\texttt{gr...
...t{PRISM\_irrlonlat\_regvrt} &
(i,j,k) \\
\hline
\end{tabularx}\end{table}




Laure Coquart 2011-12-01