# Changeset 11552 for NEMO/trunk/doc/latex/NEMO/subfiles/chap_DOM.tex

Ignore:
Timestamp:
2019-09-16T17:38:22+02:00 (23 months ago)
Message:

add unbreakable space after \fortran & fninety

File:
1 edited

### Legend:

Unmodified
 r11543 \caption{ \protect\label{fig:DOM_index_hor} Horizontal integer indexing used in the \fortran code. Horizontal integer indexing used in the \fortran\ code. The dashed area indicates the cell in which variables contained in arrays have the same $i$- and $j$-indices } %>>>>>>>>>>>>>>>>>>>>>>>>>>>> The array representation used in the \fortran code requires an integer indexing. The array representation used in the \fortran\ code requires an integer indexing. However, the analytical definition of the mesh (see \autoref{subsec:DOM_cell}) is associated with the use of integer values for $t$-points only while all the other points involve integer and a half values. In the vertical, the chosen indexing requires special attention since the direction of the $k$-axis in the \fortran code is the reverse of that used in the semi -discrete equations and the \fortran\ code is the reverse of that used in the semi -discrete equations and given in \autoref{subsec:DOM_cell}. The sea surface corresponds to the $w$-level $k = 1$, which is the same index as the $t$-level just below (compare the dashed area in \autoref{fig:DOM_index_hor} and \autoref{fig:DOM_index_vert}). Since the scale factors are chosen to be strictly positive, a \textit{minus sign} is included in the \fortran implementations of a \textit{minus sign} is included in the \fortran\ implementations of \textit{all the vertical derivatives} of the discrete equations given in this manual in order to accommodate the opposing vertical index directions in implementation and documentation. \caption{ \protect\label{fig:DOM_index_vert} Vertical integer indexing used in the \fortran code. Vertical integer indexing used in the \fortran\ code. Note that the $k$-axis is oriented downward. The dashed area indicates the cell in which variables contained in arrays have a common $k$-index.