16 |
%---------------------------------------------------------------------- |
%---------------------------------------------------------------------- |
17 |
|
|
18 |
\subsubsection{OBCS configuration and compiling |
\subsubsection{OBCS configuration and compiling |
19 |
\label{sec:pkg:kpp:comp}} |
\label{sec:pkg:obcs:comp}} |
20 |
|
|
21 |
As with all MITgcm packages, OBCS can be turned on or off |
As with all MITgcm packages, OBCS can be turned on or off |
22 |
at compile time |
at compile time |
44 |
packages \texttt{cal} and \texttt{exf} to be enabled. |
packages \texttt{cal} and \texttt{exf} to be enabled. |
45 |
% |
% |
46 |
\end{itemize} |
\end{itemize} |
47 |
(see also Section \ref{sect:buildingCode}). |
(see also Section \ref{sec:buildingCode}). |
48 |
|
|
49 |
Parts of the OBCS code can be enabled or disabled at compile time |
Parts of the OBCS code can be enabled or disabled at compile time |
50 |
via CPP preprocessor flags. These options are set in |
via CPP preprocessor flags. These options are set in |
51 |
\texttt{OBCS\_OPTIONS.h}. Table \ref{tab:pkg:obcs:cpp} summarizes them. |
\texttt{OBCS\_OPTIONS.h}. Table \ref{tab:pkg:obcs:cpp} summarizes them. |
52 |
|
|
53 |
\begin{table}[h!] |
\begin{table}[!ht] |
54 |
\centering |
\centering |
55 |
\label{tab:pkg:obcs:cpp} |
\label{tab:pkg:obcs:cpp} |
56 |
{\footnotesize |
{\footnotesize |
112 |
runtime flags that are set in \texttt{data.obcs}, and |
runtime flags that are set in \texttt{data.obcs}, and |
113 |
their default values. |
their default values. |
114 |
|
|
115 |
\begin{table}[h!] |
\begin{table}[!ht] |
116 |
\centering |
\centering |
|
\label{tab:pkg:obcs:runtime_flags} |
|
117 |
{\footnotesize |
{\footnotesize |
118 |
\begin{tabular}{|l|c|l|} |
\begin{tabular}{|l|c|l|} |
119 |
\hline |
\hline |
181 |
\hline |
\hline |
182 |
\end{tabular} |
\end{tabular} |
183 |
} |
} |
184 |
\caption{~} |
\caption{pkg OBCS run-time parameters} |
185 |
|
\label{tab:pkg:obcs:runtime_flags} |
186 |
\end{table} |
\end{table} |
187 |
|
|
188 |
|
|
243 |
\paragraph{OBCS\_READPARMS:} ~ \\ |
\paragraph{OBCS\_READPARMS:} ~ \\ |
244 |
Set OB positions through arrays |
Set OB positions through arrays |
245 |
{\tt OB\_Jnorth(Ny), OB\_Jsouth(Ny), OB\_Ieast(Nx), OB\_Iwest(Nx)}, |
{\tt OB\_Jnorth(Ny), OB\_Jsouth(Ny), OB\_Ieast(Nx), OB\_Iwest(Nx)}, |
246 |
and runtime flags see Table \ref{tab:???}. |
and runtime flags (see Table \ref{tab:pkg:obcs:runtime_flags}). |
247 |
|
|
248 |
\paragraph{OBCS\_CALC:} ~ \\ |
\paragraph{OBCS\_CALC:} ~ \\ |
249 |
% |
% |
272 |
|
|
273 |
\paragraph{ORLANSKI} ~ \\ |
\paragraph{ORLANSKI} ~ \\ |
274 |
% |
% |
275 |
Orlanski radiation conditions |
Orlanski radiation conditions \citep{orl:76} |
276 |
|
|
277 |
\paragraph{OBCS\_PRESCRIBE\_READ} Setting OB fields and updates \\ |
\paragraph{OBCS\_PRESCRIBE\_READ} Setting OB fields and updates \\ |
278 |
% |
% |
319 |
Available output fields are summarized in |
Available output fields are summarized in |
320 |
Table \ref{tab:pkg:obcs:diagnostics}. |
Table \ref{tab:pkg:obcs:diagnostics}. |
321 |
|
|
322 |
\begin{table}[h!] |
\begin{table}[!ht] |
323 |
\centering |
\centering |
324 |
\label{tab:pkg:obcs:diagnostics} |
\label{tab:pkg:obcs:diagnostics} |
325 |
{\footnotesize |
{\footnotesize |
343 |
|
|
344 |
\subsubsection{References} |
\subsubsection{References} |
345 |
|
|
346 |
|
\subsubsection{Experiments and tutorials that use obcs} |
347 |
|
\label{sec:pkg:obcs:experiments} |
348 |
|
|
349 |
|
\begin{itemize} |
350 |
|
\item{Ocean experiment in exp4 verification directory. } |
351 |
|
\end{itemize} |
352 |
|
|