Changeset 13825
- Timestamp:
- 2020-11-19T09:46:43+01:00 (4 years ago)
- Location:
- NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc/latex/NEMO/main/appendices.tex
r12377 r13825 1 1 2 \subfile{../subfiles/a nnex_A} %%Generalised vertical coordinate3 \subfile{../subfiles/a nnex_B} %% Diffusive operator4 \subfile{../subfiles/a nnex_C} %%Discrete invariants of the eqs.5 \subfile{../subfiles/a nnex_iso} %%Isoneutral diffusion using triads6 \subfile{../subfiles/a nnex_D} %% Coding rules2 \subfile{../subfiles/apdx_s_coord} %% A. Generalised vertical coordinate 3 \subfile{../subfiles/apdx_diff_opers} %% B. Diffusive operators 4 \subfile{../subfiles/apdx_invariants} %% C. Discrete invariants of the eqs. 5 \subfile{../subfiles/apdx_triads} %% D. Isoneutral diffusion using triads 6 \subfile{../subfiles/apdx_DOMAINcfg} %% E. Brief notes on DOMAINcfg 7 7 8 8 %% Not included -
NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc/latex/NEMO/main/bibliography.bib
r12377 r13825 3160 3160 author = "E. B. Kraus and J. A. Businger", 3161 3161 title = "Atmosphere-ocean interaction.", 3162 journal="Quarterly Journal of the Royal Meteorological Society", ,3162 journal="Quarterly Journal of the Royal Meteorological Society", 3163 3163 year = "1996", 3164 3164 volume = "122", -
NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc/latex/NEMO/main/chapters.tex
r12377 r13825 14 14 \subfile{../subfiles/chap_STO} %% Stochastic param. 15 15 \subfile{../subfiles/chap_misc} %% Miscellaneous topics 16 \subfile{../subfiles/chap_ CONFIG} %% Predefined configurations16 \subfile{../subfiles/chap_cfgs} %% Predefined configurations -
NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc/latex/NEMO/subfiles/apdx_triads.tex
r11693 r13825 1 1 \documentclass[../main/NEMO_manual]{subfiles} 2 3 \begin{document} 2 4 3 5 %% Local cmds … … 10 12 \newcommand{\rtriad}[2][]{\ensuremath{\triad[#1]{i}{k}{#2}{i_p}{k_p}}} 11 13 \newcommand{\rtriadt}[1]{\ensuremath{\triadt{i}{k}{#1}{i_p}{k_p}}} 12 13 \begin{document}14 14 15 15 \chapter{Iso-Neutral Diffusion and Eddy Advection using Triads} -
NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc/latex/NEMO/subfiles/chap_ZDF.tex
r13461 r13825 1 1 \documentclass[../main/NEMO_manual]{subfiles} 2 3 \begin{document} 2 4 3 5 %% Custom aliases 4 6 \newcommand{\cf}{\ensuremath{C\kern-0.14em f}} 5 6 \begin{document}7 7 8 8 \chapter{Vertical Ocean Physics (ZDF)} -
NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc/latex/NEMO/subfiles/chap_misc.tex
r12377 r13825 382 382 with their default settings: 383 383 384 \begin{ verbatim}384 \begin{forlines} 385 385 sn_cfctl%l_allon = .FALSE. ! IF T activate all options. If F deactivate all unless l_config is T 386 386 sn_cfctl%l_config = .TRUE. ! IF .true. then control which reports are written with the following 387 \end{ verbatim}387 \end{forlines} 388 388 389 389 The first switch is a convenience option which can be used to switch on and off all 390 390 sub-options. However, if it is false then switching off all sub-options is only done 391 if \ texttt{sn_cfctl%l\_config} is also false. Specifically, the logic is:392 393 \begin{ verbatim}391 if \forcode{sn_cfctl%l\_config} is also false. Specifically, the logic is: 392 393 \begin{forlines} 394 394 IF ( sn_cfctl%l_allon ) THEN 395 395 set all suboptions .TRUE. … … 400 400 set all suboptions .FALSE. 401 401 ENDIF 402 \end{ verbatim}402 \end{forlines} 403 403 404 404 Details of the suboptions follow but first an explanation of the stand-alone option: 405 \ texttt{sn_cfctl%l_glochk}. This option modifies the action of the early warning checks406 carried out in \textt {stpctl.F90}. These checks detect probable numerical instabilites405 \forcode{sn_cfctl%l_glochk}. This option modifies the action of the early warning checks 406 carried out in \texttt{stpctl.F90}. These checks detect probable numerical instabilites 407 407 by searching for excessive sea surface heights or velocities and salinity values 408 408 outside a sensible physical range. If breaches are detected then the default behaviour 409 409 is to locate and report the local indices of the grid-point in breach. These indices 410 410 are included in the error message that precedes the model shutdown. When true, 411 \ texttt{sn_cfctl%l_glochk} modifies this action by performing a global location of411 \forcode{sn_cfctl%l_glochk} modifies this action by performing a global location of 412 412 the various minimum and maximum values and the global indices are reported. This has 413 413 some value in locating the most severe error in cases where the first detected error … … 427 427 average tracer value for each passive tracer. Collecting these metrics involves 428 428 global communications and will impact on model efficiency so both these options are 429 disabled by default by setting the respective options, \ texttt{sn\_cfctl%runstat} and430 \ texttt{sn\_cfctl%trcstat} to false. A compromise can be made by activating either or431 both of these options and setting the \ texttt{sn\_cfctl%timincr} entry to an integer429 disabled by default by setting the respective options, \forcode{sn\_cfctl%runstat} and 430 \forcode{sn\_cfctl%trcstat} to false. A compromise can be made by activating either or 431 both of these options and setting the \forcode{sn\_cfctl%timincr} entry to an integer 432 432 value greater than one. This increment determines the time-step frequency at which 433 433 the global metrics are collected and reported. This increment also applies to the … … 440 440 any warning or error messages generated during execution. A \texttt{layout.dat} 441 441 file is also produced which details the MPI-decomposition used by the model. The 442 suboptions: \ texttt{sn\_cfctl%oceout} and \texttt{sn\_cfctl%layout} can be used442 suboptions: \forcode{sn\_cfctl%oceout} and \forcode{sn\_cfctl%layout} can be used 443 443 to activate the creation of these files by all ocean processes. For example, 444 when \ texttt{sn\_cfctl%oceout} is true all processors produce their own version of444 when \forcode{sn\_cfctl%oceout} is true all processors produce their own version of 445 445 \texttt{ocean.output}. All files, beyond the the normal reporting processor (narea == 1), are 446 446 named with a \_XXXX extension to their name, where XXXX is a 4-digit area number (with … … 449 449 systems so bug-hunting efforts using this facility should also utilise the \fortran: 450 450 451 \begin{ verbatim}451 \begin{forlines} 452 452 CALL FLUSH(numout) 453 \end{ verbatim}453 \end{forlines} 454 454 455 455 statement after any additional write statements to ensure that file contents reflect 456 the last model state. Associated with the \ texttt{sn\_cfctl%oceout} option is the457 additional \ texttt{sn\_cfctl%oasout} suboption. This does not activate its own output456 the last model state. Associated with the \forcode{sn\_cfctl%oceout} option is the 457 additional \forcode{sn\_cfctl%oasout} suboption. This does not activate its own output 458 458 file but rather activates the writing of addition information regarding the OASIS 459 459 configuration when coupling via oasis and the sbccpl routine. This information is … … 467 467 http://forge.ipsl.jussieu.fr/nemo/attachment/wiki/Documentation/prtctl_NEMO_doc_v2.pdf}{The 468 468 control print option in NEMO} The switches to activate production of the control sums 469 of trends for either the physics or passive tracers are the \ texttt{sn\_cfctl%prtctl}470 and \ texttt{sn\_cfctl%prttrc} suboptions, respectively. Although, perhaps, of limited use for its469 of trends for either the physics or passive tracers are the \forcode{sn\_cfctl%prtctl} 470 and \forcode{sn\_cfctl%prttrc} suboptions, respectively. Although, perhaps, of limited use for its 471 471 original intention, the ability to produce these control sums of trends in specific 472 472 areas provides another tool for diagnosing model behaviour. If only the output from a 473 473 select few regions is required then additional options are available to activate options 474 for only a simple subset of processing regions. These are: \ texttt{sn\_cfctl%procmin},475 \ texttt{sn\_cfctl%procmax} and \texttt{sn\_cfctl%procincr} which can be used to specify474 for only a simple subset of processing regions. These are: \forcode{sn\_cfctl%procmin}, 475 \forcode{sn\_cfctl%procmax} and \forcode{sn\_cfctl%procincr} which can be used to specify 476 476 the minimum and maximum active areas and the increment. The default values are set 477 477 such that all regions will be active. Note this subsetting can also be used to limit … … 481 481 \end{enumerate} 482 482 483 483 \begin{forlines} 484 484 sn_cfctl%l_glochk = .FALSE. ! Range sanity checks are local (F) or global (T). Set T for debugging only 485 485 sn_cfctl%l_allon = .FALSE. ! IF T activate all options. If F deactivate all unless l_config is T … … 496 496 sn_cfctl%procincr = 1 ! Increment for optional subsetting of areas [default:1] 497 497 sn_cfctl%ptimincr = 1 ! Timestep increment for writing time step progress info 498 499 498 \end{forlines} 500 499 501 500 \subinc{\input{../../global/epilogue}} -
NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc/latex/global/document.tex
r12377 r13825 11 11 12 12 %% Document layout 13 \documentclass[ draft]{scrreprt}13 \documentclass[]{scrreprt} 14 14 15 15 %% Load the configuration of the manual … … 27 27 %% End of common preamble between main and sub-files 28 28 %% Override custom cmds for full manual compilation 29 \newcommand{\ onlyinsubfile}[1]{#1}29 \newcommand{\subinc}[1]{#1} 30 30 \newcommand{\notinsubfile}[1]{} 31 31 32 32 \begin{document} 33 33 34 \renewcommand{\ onlyinsubfile}[1]{}34 \renewcommand{\subinc}[1]{} 35 35 \renewcommand{\notinsubfile}[1]{#1} 36 36 -
NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc/latex/global/indexes.tex
r12377 r13825 8 8 \newcommand{\key}[1]{\index[keys]{#1} \texttt{\textbf{key\_#1}}} 9 9 \newcommand{\mdl}[1]{\index[modules]{#1} \textit{#1.F90} } 10 \newcommand{\n gn}[1]{\index[blocks]{#1} \texttt{#1}}11 \newcommand{\np}[ 1]{ \index[parameters]{#1} \texttt{#1}}10 \newcommand{\nam}[2]{ \index[blocks]{#1@\texttt{\&nam#2}} \forcode{&nam#1} (\autoref{lst:nam#1})} 11 \newcommand{\np}[3][]{ \index[parameters]{#3@\texttt{#3}} \forcode{#2#1} } 12 12 \newcommand{\rou}[1]{\index[subroutines]{#1} \texttt{#1} } 13 13 -
NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc/latex/global/latexmkrc
r12377 r13825 1 1 2 2 ## Defaults 3 $silent = 1;3 #$silent = 1; 4 4 $pdf_mode = 1; 5 5 … … 7 7 $ENV{'openout_any'}='a'; 8 8 $out_dir = '../build'; 9 $do_cd = 1; 9 10 10 11 ## Custom cmds 12 set_tex_cmds( '-shell-escape' ); 11 13 $makeindex = 'makeindex -s %R.ist %O -o %D %S'; 12 14 $pdflatex = 'pdflatex -shell-escape %O %S'; -
NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc/latex/global/new_cmds.tex
r12377 r13825 9 9 %% NEMO and Fortran in small capitals 10 10 \newcommand{\NEMO}{\textsc{nemo}~} 11 \newcommand{\TOP }{\textsl{TOP}} 12 \newcommand{\PISCES}{\textsl{PISCES}} 11 13 \newcommand{\fortran}{\textsc{Fortran}~} 12 14 \newcommand{\fninety}{\textsc{Fortran 90}~} … … 25 27 \newcommand{\rdt}{\Delta t} 26 28 27 %% Text env. for Gurvan28 \newcommand{\ gmcomment}[1]{}29 %% Gurvan's comments 30 \newcommand{\cmtgm}[1]{} 29 31 30 32 %% Maths … … 36 38 %% Workaround for issue with \listoffigures 37 39 \DeclareRobustCommand{\triad}[6][]{\ensuremath{{}_{#2}^{#3}{\mathbb{#4}_{#1}}_{#5}^{\,#6}}} 40 41 %% New command for ToC 42 \newcommand{\chaptertoc}[1][Table of contents]{ 43 \thispagestyle{empty} 44 \etocsettocstyle{\addsec*{#1}}{} 45 \localtableofcontents 46 \vfill 47 } -
NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc/latex/global/packages.tex
r12377 r13825 7 7 \usepackage{xcolor} %% color 8 8 \usepackage{times} %% font 9 \usepackage {enumitem} %% list9 \usepackage[inline]{enumitem} %% list 10 10 \usepackage{amsmath} %% maths 11 11 %\usepackage{fancyhdr} %% page … … 14 14 \usepackage{draftwatermark} %% watermark 15 15 \usepackage{titling} %% titlepage 16 \usepackage{etoc} 17 \usepackage{mathtools} 18 \usepackage{academicons} 16 19 17 20 %% Extensions in bundle package … … 20 23 21 24 %% Configuration 22 \graphicspath{ {../../ figures/} {../../figures/\engine/} }25 \graphicspath{ {../../../} {../figures/} } 23 26 %\captionsetup{margin=10pt, font={small}, labelsep=colon, labelfont={bf}} 24 27 \renewcommand{\bibfont}{\small} -
NEMO/branches/2020/dev_r13787_doc_latex_recovery/doc/tools/shr_func.sh
r11598 r13825 4 4 printf "\t¤ Clean previous build" 5 5 find latex/$1/build -mindepth 1 -delete 6 7 6 echo 8 7 } … … 10 9 build() { 11 10 printf "\t¤ Generation of the PDF format\n" 12 latexmk -r ./latex/global/latexmk.pl-pdfxe ./latex/$1/main/$1_manual \11 latexmk -r ./latex/global/latexmkrc -pdfxe ./latex/$1/main/$1_manual \ 13 12 # 1> /dev/null 14 13 [ -f ./latex/$1/build/$1_manual.pdf ] && mv ./latex/$1/build/$1_manual.pdf .
Note: See TracChangeset
for help on using the changeset viewer.