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


prism_def_grid

prism_def_grid(grid_id, grid_name, comp_id, valid_shape, grid_type,ierror)




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




This routine declares a grid and describes its structure.

Gaussian reduced grids. For Gaussian reduced grids, all processes defining the grid have to call
prism_def_grid with grid_type=PRISM_gaussreduced_regvrt. Two numerical dimensions (ndim=2) are used to describe the 3D domain: the first dimension covers the horizontal plane and the second dimension covers the vertical. Furthermore, all these processes have to provide a description of the global reduced gaussian grid by a call to prism_reducedgrid_map (see 5.3.5), and have to describe the local partition of the grid with a call to prism_def_partition (see 5.3.4).

Non-geographical grids. For fields located on a non-geographical grid, prism_def_grid still has to be called with grid_type = PRISM_gridless. For coding reasons, ndim must be always equal to 3 and the call to prism_def_grid must be done with valid_shape(1:2, 2:3) = 1. The partitioning of non-geographical grids must also be described by a call to prism_def_partition (see 5.3.4); furthermore, a call to prism_set_points_gridless (see 5.3.7) is also required.




next up previous
Next: prism_set_corners Up: Grids and related quantities Previous: Grids and related quantities
Laure Coquart 2011-12-01