Changeset 10414 for NEMO/trunk/doc/latex/NEMO/subfiles/annex_D.tex
- Timestamp:
- 2018-12-19T00:02:00+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/NEMO/subfiles/annex_D.tex
r10354 r10414 1 \documentclass[../tex_main/NEMO_manual]{subfiles} 1 \documentclass[../main/NEMO_manual]{subfiles} 2 2 3 \begin{document} 3 4 % ================================================================ 4 % Appendix D ÑCoding Rules5 % Appendix D Coding Rules 5 6 % ================================================================ 6 7 \chapter{Coding Rules} 7 8 \label{apdx:D} 9 8 10 \minitoc 9 11 10 12 \newpage 11 $\ $\newline % force a new ligne12 $\ $\newline % force a new ligne13 14 13 15 14 A "model life" is more than ten years. … … 102 101 - use call to ctl\_stop routine instead of just a STOP. 103 102 104 105 103 \newpage 104 106 105 % ================================================================ 107 106 % Naming Conventions … … 116 115 117 116 %--------------------------------------------------TABLE-------------------------------------------------- 118 \begin{table}[htbp] \label{tab:VarName} 119 \begin{center} 120 \begin{tabular}{|p{45pt}|p{35pt}|p{45pt}|p{40pt}|p{40pt}|p{40pt}|p{40pt}|p{40pt}|} 121 \hline Type \par / Status & integer& real& logical & character & structure & double \par precision& complex \\ 122 \hline 123 public \par or \par module variable& 124 \textbf{m n} \par \textit{but not} \par \textbf{nn\_ np\_}& 125 \textbf{a b e f g h o q r} \par \textbf{t} \textit{to} \textbf{x} \par but not \par \textbf{fs rn\_}& 126 \textbf{l} \par \textit{but not} \par \textbf{lp ld} \par \textbf{ ll ln\_}& 127 \textbf{c} \par \textit{but not} \par \textbf{cp cd} \par \textbf{cl cn\_}& 128 \textbf{s} \par \textit{but not} \par \textbf{sd sd} \par \textbf{sl sn\_}& 129 \textbf{d} \par \textit{but not} \par \textbf{dp dd} \par \textbf{dl dn\_}& 130 \textbf{y} \par \textit{but not} \par \textbf{yp yd} \par \textbf{yl yn} \\ 131 \hline 132 dummy \par argument& 133 \textbf{k} \par \textit{but not} \par \textbf{kf}& 134 \textbf{p} \par \textit{but not} \par \textbf{pp pf}& 135 \textbf{ld}& 136 \textbf{cd}& 137 \textbf{sd}& 138 \textbf{dd}& 139 \textbf{yd} \\ 140 \hline 141 local \par variable& 142 \textbf{i}& 143 \textbf{z}& 144 \textbf{ll}& 145 \textbf{cl}& 146 \textbf{sl}& 147 \textbf{dl}& 148 \textbf{yl} \\ 149 \hline 150 loop \par control& 151 \textbf{j} \par \textit{but not} \par \textbf{jp}& 152 & 153 & 154 & 155 & 156 & 157 \\ 158 \hline 159 parameter& 160 \textbf{jp np\_}& 161 \textbf{pp}& 162 \textbf{lp}& 163 \textbf{cp}& 164 \textbf{sp}& 165 \textbf{dp}& 166 \textbf{yp} \\ 167 \hline 168 169 namelist& 170 \textbf{nn\_}& 171 \textbf{rn\_}& 172 \textbf{ln\_}& 173 \textbf{cn\_}& 174 \textbf{sn\_}& 175 \textbf{dn\_}& 176 \textbf{yn\_} 177 \\ 178 \hline 179 CPP \par macro& 180 \textbf{kf}& 181 \textbf{fs} \par & 182 & 183 & 184 & 185 & 186 \\ 187 \hline 188 \end{tabular} 189 \label{tab:tab1} 190 \end{center} 117 \begin{table}[htbp] 118 \label{tab:VarName} 119 \begin{center} 120 \begin{tabular}{|p{45pt}|p{35pt}|p{45pt}|p{40pt}|p{40pt}|p{40pt}|p{40pt}|p{40pt}|} 121 \hline 122 Type \par / Status 123 & integer 124 & real 125 & logical 126 & character 127 & structure 128 & double \par precision 129 & complex \\ 130 \hline 131 public \par or \par module variable 132 & \textbf{m n} \par \textit{but not} \par \textbf{nn\_ np\_} 133 & \textbf{a b e f g h o q r} \par \textbf{t} \textit{to} \textbf{x} \par but not \par \textbf{fs rn\_} 134 & \textbf{l} \par \textit{but not} \par \textbf{lp ld} \par \textbf{ ll ln\_} 135 & \textbf{c} \par \textit{but not} \par \textbf{cp cd} \par \textbf{cl cn\_} 136 & \textbf{s} \par \textit{but not} \par \textbf{sd sd} \par \textbf{sl sn\_} 137 & \textbf{d} \par \textit{but not} \par \textbf{dp dd} \par \textbf{dl dn\_} 138 & \textbf{y} \par \textit{but not} \par \textbf{yp yd} \par \textbf{yl yn} \\ 139 \hline 140 dummy \par argument 141 & \textbf{k} \par \textit{but not} \par \textbf{kf} 142 & \textbf{p} \par \textit{but not} \par \textbf{pp pf} 143 & \textbf{ld} 144 & \textbf{cd} 145 & \textbf{sd} 146 & \textbf{dd} 147 & \textbf{yd} \\ 148 \hline 149 local \par variable 150 & \textbf{i} 151 & \textbf{z} 152 & \textbf{ll} 153 & \textbf{cl} 154 & \textbf{sl} 155 & \textbf{dl} 156 & \textbf{yl} \\ 157 \hline 158 loop \par control 159 & \textbf{j} \par \textit{but not} \par \textbf{jp} &&&&&& \\ 160 \hline 161 parameter 162 & \textbf{jp np\_} 163 & \textbf{pp} 164 & \textbf{lp} 165 & \textbf{cp} 166 & \textbf{sp} 167 & \textbf{dp} 168 & \textbf{yp} \\ 169 \hline 170 namelist 171 & \textbf{nn\_} 172 & \textbf{rn\_} 173 & \textbf{ln\_} 174 & \textbf{cn\_} 175 & \textbf{sn\_} 176 & \textbf{dn\_} 177 & \textbf{yn\_} 178 \\ 179 \hline 180 CPP \par macro 181 & \textbf{kf} 182 & \textbf{fs} \par &&&&& \\ 183 \hline 184 \end{tabular} 185 \label{tab:tab1} 186 \end{center} 191 187 \end{table} 192 188 %-------------------------------------------------------------------------------------------------------------- … … 197 193 198 194 \newpage 195 199 196 % ================================================================ 200 197 % The program structure 201 198 % ================================================================ 202 199 %\section{Program structure} 203 % abel{sec:Apdx_D_structure}200 %\label{sec:Apdx_D_structure} 204 201 205 202 %To be done.... 203 \biblio 204 206 205 \end{document}
Note: See TracChangeset
for help on using the changeset viewer.