Changeset 9388
- Timestamp:
- 2018-03-08T17:57:24+01:00 (7 years ago)
- Location:
- branches/2017/dev_merge_2017/DOC
- Files:
-
- 3 added
- 1 deleted
- 2 edited
- 29 copied
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/DOC/build_NEMO_manual.sh
r9378 r9388 1 1 #!/bin/sh 2 2 3 latex -shell-escape NEMO_manual 4 makeindex NEMO_manual 5 bibtex NEMO_manual 6 latex -shell-escape NEMO_manual 3 latex_file='NEMO_manual' 4 latex_opts='-shell-escape -interaction=nonstopmode' 7 5 8 pdflatex -shell-escape NEMO_manual 6 cd tex_main 7 8 latex ${latex_opts} ${latex_file} 9 makeindex -s ${latex_file}.sty ${latex_file} 10 bibtex ${latex_file} 11 12 pdflatex ${latex_opts} ${latex_file} 13 14 mv ${latex_file}.pdf .. 15 16 cd - 9 17 10 18 exit 0 -
branches/2017/dev_merge_2017/DOC/clean.sh
r9378 r9388 1 1 #!/bin/bash 2 2 3 rm -f $( ls -1 NEMO_manual* | egrep -v "tex" ) 4 rm -rf _minted-NEMO_manual html_* 5 find texfiles -regextype posix-extended -regex ".*\.(aux|log)" -exec rm -f {} \; 3 rm -f $( ls -1 tex_main/NEMO_* | egrep -v "\.(bib|sty|tex)$" ) 4 #rm -rf _minted-* 5 #rm -rf html* 6 find tex_* -regextype posix-extended -regex ".*\.(aux|log)$" -exec rm -f {} \; 6 7 7 8 exit 0 -
branches/2017/dev_merge_2017/DOC/tex_main/NEMO_manual.sty
r9387 r9388 1 1 %% ============================================================================== 2 %% macros.sty:2 %% NEMO_manual.sty: all customizations (packages, ) 3 3 %% ============================================================================== 4 4 5 6 %% LaTeX packages 7 %% ============================================================================== 8 9 \usepackage{natbib} % bib 10 \usepackage{caption} % caption 11 \usepackage{xcolor} % color 12 \usepackage{silence} % compilation 13 \usepackage{times} % font 14 \usepackage{hyperref} % hyper 15 \usepackage{enumitem} % list 16 \usepackage{minted} % listing 17 \usepackage{amsmath} % maths 18 \usepackage{fancyhdr} % page 19 \usepackage{minitoc} % toc 20 \usepackage{subfiles} % subdocs 21 22 23 %% Extensions in bundle package 24 25 \usepackage{amssymb, graphicx, longtable, makeidx, xspace} 26 27 28 %% Configuration 29 30 \captionsetup{margin=10pt, font={small}, labelsep=colon, labelfont={bf}} 31 \graphicspath{{../figures/}} 32 \hypersetup{ 33 pdftitle={NEMO ocean engine}, pdfauthor={Gurvan Madec, and the NEMO team}, 34 colorlinks 35 } 36 37 38 %% Styles 39 %% ============================================================================== 40 41 %% Additionnal fonts 42 43 \DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it} 44 45 46 %% Page layout 47 48 \fancyhf{} 49 \fancyhead[LE,RO]{\bfseries\thepage} 50 \fancyhead[LO]{\bfseries\hspace{-0em}\rightmark} 51 \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} 52 \fancyhead[RE]{\bfseries\leftmark} 53 \renewcommand{\chaptermark}[1]{\markboth{#1}{}} 54 \renewcommand{\headrulewidth}{0.5pt} 55 \renewcommand{\footrulewidth}{0pt } 56 \addtolength{\headheight}{2.6pt} 57 58 59 %% Catcodes 60 61 \makeatletter 62 \def\LigneVerticale{\vrule height 5cm depth 2cm\hspace{0.1cm}\relax} 63 \def\LignesVerticales{\let\LV\LigneVerticale\LV\LV\LV\LV\LV\LV\LV\LV\LV\LV} 64 \def\GrosCarreAvecUnChiffre#1{% 65 \rlap{\vrule height 0.8cm width 1cm depth 0.2cm}% 66 \rlap{\hbox to 1cm{\hss\mbox{\color{white} #1}\hss}}% 67 \vrule height 0pt width 1cm depth 0pt% 68 } 69 \def\@makechapterhead#1{ 70 \hbox{ 71 \huge\LignesVerticales 72 \hspace{-0.5cm} 73 \GrosCarreAvecUnChiffre{\thechapter} 74 \hspace{0.2cm} 75 \hbox{#1} 76 } 77 \par\vskip 78 1cm 79 } 80 \def\@makeschapterhead#1{ 81 \hbox{ 82 \huge\LignesVerticales 83 \hbox{#1} 84 } 85 \par\vskip 86 2cm 87 } 88 \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else 89 \hbox{} 90 \vspace*{\fill} 91 \vspace{\fill} 92 \thispagestyle{empty} 93 \newpage 94 \if@twocolumn\hbox{}\newpage\fi\fi\fi} 95 \def\@seccntformat#1{\protect\makebox[0pt][r]{\csname the#1\endcsname\quad}} 96 \makeatother 97 98 99 %% Macros (to check) 5 100 6 101 \def\deg{$^{\circ}$} … … 22 117 \def\rdt{\Delta t} 23 118 119 120 %% New commands 121 24 122 \newcommand{ \gmcomment}[1]{} 25 123 \newcommand{ \sfcomment}[1]{} … … 29 127 \newcommand{\NEMO}{\textit{NEMO}\xspace} 30 128 31 \newcommand{ 32 \newcommand{ 33 \newcommand{ 34 \newcommand{ 35 \newcommand{ 36 \newcommand{ 37 \newcommand{ 38 \newcommand{ 39 \newcommand{ 129 \newcommand{\ifile}[1]{\textit{ #1.nc}\index{Input NetCDF files!#1.nc}} 130 \newcommand{ \jp}[1]{\textit{ #1}\index{ Model parameters!#1}} 131 \newcommand{ \hf}[1]{\textit{ #1.h90}\index{ h90 file!#1}} 132 \newcommand{ \key}[1]{\textbf{key\_#1}\index{ CPP keys!key\_#1}} 133 \newcommand{ \mdl}[1]{\textit{ #1.F90}\index{ Modules!#1}} 134 \newcommand{ \ngn}[1]{\textit{ #1}\index{ Namelist Group Name!#1}} 135 \newcommand{ \np}[1]{\textit{ #1}\index{ Namelist variables!#1}} 136 \newcommand{ \pp}[1]{\textit{ #1}\index{ Model parameters!#1}} 137 \newcommand{ \rou}[1]{\textit{ #1}\index{ Routines!#1}} 40 138 41 139 \newcommand{\grad}{\nabla} -
branches/2017/dev_merge_2017/DOC/tex_main/NEMO_manual.tex
r9387 r9388 4 4 5 5 6 %% Run build_NEMO_manual.sh to generate the PDF version (with pdflatex) 6 %% Run ../build_NEMO_manual.sh to generate the PDF version (with pdflatex) 7 8 %% Document layout 9 %% ============================================================================== 10 11 \documentclass[a4paper, 11pt]{book} 7 12 8 13 … … 10 15 %% ============================================================================== 11 16 12 \include{texfiles/preamble} 17 \usepackage{../tex_main/NEMO_manual} 18 \usepackage{../tex_sub/minted} 19 \pagestyle{fancy} 20 \bibliographystyle{../tex_sub/ametsoc} 21 22 \makeindex 23 24 25 %% 26 %% ============================================================================== 13 27 14 28 \begin{document} 15 16 17 %% 'minted' env. & shortcuts for syntax highlighting18 19 \setminted[fortran]{fontsize=\tiny, breaklines}20 \newminted{fortran}{} % \begin{fortrancode}21 \newmintinline{fortran}{} % \fortraninline22 \newmintedfile{fortran}{} % \fortranfile23 \newminted{xml}{fontsize=\tiny, breaklines}24 \newminted{sh}{}25 \newminted{c}{}26 29 27 30 … … 29 32 %% ============================================================================== 30 33 31 \subfile{texfiles/top_matter} 34 %% Frontpage 32 35 36 \title{ 37 \vspace{-6.0cm}\includegraphics[width=1.1\textwidth]{logo_ALL} \\ 38 \vspace{ 5.1cm}\includegraphics[width=0.9\textwidth]{NEMO_logo_Black} \\ 39 \vspace{ 1.4cm}\rule{345pt}{1.5pt} \\ 40 \vspace{0.45cm}{\Huge NEMO ocean engine} \\ 41 \rule{345pt}{1.5pt} 42 } 33 43 34 %% Frontpage 44 \author{ 45 \Large Gurvan Madec, and the NEMO team \\ 46 \texttt{\small\href{mailto:gurvan.madec@locean-ipsl.umpc.fr}{gurvan.madec@locean-ipsl.umpc.fr}} \\ 47 } 48 49 \date{ 50 Decembre 2017 \\ 51 {\small -- version 4.0 alpha --} \\ 52 ~ \\ 53 \textit{\small Note du P\^ole de mod\'{e}lisation de l'Institut Pierre-Simon Laplace No 27 } \\ 54 \vspace{0.45cm}{ ISSN No 1288-1619.} 55 } 56 %\date{\today} 35 57 36 58 \maketitle … … 52 74 %% Abstract - Foreword 53 75 54 \subfile{ texfiles/chapters/abstract_foreword}76 \subfile{../tex_sub/abstract_foreword} 55 77 56 78 57 79 % Introduction 58 80 59 \subfile{ texfiles/chapters/introduction}81 \subfile{../tex_sub/introduction} 60 82 61 83 62 84 % Chapters 63 85 64 \subfile{ texfiles/chapters/chap_model_basics}86 \subfile{../tex_sub/chap_model_basics} 65 87 66 \subfile{ texfiles/chapters/chap_step} % Time discretisation (time stepping strategy)88 \subfile{../tex_sub/chap_time_domain} % Time discretisation (time stepping strategy) 67 89 68 \subfile{ texfiles/chapters/chap_DOM} % Space discretisation90 \subfile{../tex_sub/chap_DOM} % Space discretisation 69 91 70 \subfile{ texfiles/chapters/chap_TRA} % Tracer advection/diffusion equation92 \subfile{../tex_sub/chap_TRA} % Tracer advection/diffusion equation 71 93 72 \subfile{ texfiles/chapters/chap_DYN} % Dynamics : momentum equation94 \subfile{../tex_sub/chap_DYN} % Dynamics : momentum equation 73 95 74 \subfile{ texfiles/chapters/chap_SBC} % Surface Boundary Conditions96 \subfile{../tex_sub/chap_SBC} % Surface Boundary Conditions 75 97 76 \subfile{ texfiles/chapters/chap_LBC} % Lateral Boundary Conditions98 \subfile{../tex_sub/chap_LBC} % Lateral Boundary Conditions 77 99 78 \subfile{ texfiles/chapters/chap_LDF} % Lateral diffusion100 \subfile{../tex_sub/chap_LDF} % Lateral diffusion 79 101 80 \subfile{ texfiles/chapters/chap_ZDF} % Vertical diffusion102 \subfile{../tex_sub/chap_ZDF} % Vertical diffusion 81 103 82 \subfile{ texfiles/chapters/chap_DIA} % Outputs and Diagnostics104 \subfile{../tex_sub/chap_DIA} % Outputs and Diagnostics 83 105 84 \subfile{ texfiles/chapters/chap_OBS} % Observation operator106 \subfile{../tex_sub/chap_OBS} % Observation operator 85 107 86 \subfile{ texfiles/chapters/chap_ASM} % Assimilation increments108 \subfile{../tex_sub/chap_ASM} % Assimilation increments 87 109 88 \subfile{ texfiles/chapters/chap_STO} % Stochastic param.110 \subfile{../tex_sub/chap_STO} % Stochastic param. 89 111 90 \subfile{ texfiles/chapters/chap_misc} % Miscellaneous topics112 \subfile{../tex_sub/chap_misc} % Miscellaneous topics 91 113 92 \subfile{ texfiles/chapters/chap_CONFIG} % Predefined configurations114 \subfile{../tex_sub/chap_CONFIG} % Predefined configurations 93 115 94 116 95 % Appendix117 %% Appendix 96 118 97 119 \appendix 98 120 99 \subfile{ texfiles/chapters/annex_A} % Generalised vertical coordinate121 \subfile{../tex_sub/annex_A} % Generalised vertical coordinate 100 122 101 \subfile{ texfiles/chapters/annex_B} % Diffusive operator123 \subfile{../tex_sub/annex_B} % Diffusive operator 102 124 103 \subfile{ texfiles/chapters/annex_C} % Discrete invariants of the eqs.125 \subfile{../tex_sub/annex_C} % Discrete invariants of the eqs. 104 126 105 \subfile{ texfiles/chapters/annex_iso} % Isoneutral diffusion using triads127 \subfile{../tex_sub/annex_iso} % Isoneutral diffusion using triads 106 128 107 \subfile{ texfiles/chapters/annex_D} % Coding rules129 \subfile{../tex_sub/annex_D} % Coding rules 108 130 109 131 %% Not included 110 %\subfile{ texfiles/chapters/chap_conservation} %111 %\subfile{ texfiles/chapters/annex_E} % Notes on some on going staff112 %\subfile{ texfiles/chapters/annex_Fox-Kemper} % Notes on Fox-Kemper113 %\subfile{ texfiles/chapters/annex_EVP} % Notes on EVP132 %\subfile{../tex_sub/chap_conservation} % 133 %\subfile{../tex_sub/annex_E} % Notes on some on going staff 134 %\subfile{../tex_sub/annex_Fox-Kemper} % Notes on Fox-Kemper 135 %\subfile{../tex_sub/annex_EVP} % Notes on EVP 114 136 115 137 … … 128 150 %% Bibliography 129 151 130 \bibliography{ texfiles/bibliography/NEMO_manual}152 \bibliography{../tex_main/NEMO_manual} 131 153 132 154 -
branches/2017/dev_merge_2017/DOC/tex_sub/annex_iso.tex
r9387 r9388 11 11 \section{Choice of \protect\ngn{namtra\_ldf} namelist parameters} 12 12 %-----------------------------------------nam_traldf------------------------------------------------------ 13 \for tranfile{namelists/namtra_ldf}13 \forfile{../namelists/namtra_ldf} 14 14 %--------------------------------------------------------------------------------------------------------- 15 15 -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_ASM.tex
r9387 r9388 131 131 132 132 %------------------------------------------namasm----------------------------------------------------- 133 %\for tranfile{namelists/namasm}133 %\forfile{../namelists/namasm} 134 134 %------------------------------------------------------------------------------------------------------------- 135 135 … … 137 137 \mbox{\textit{ncdump~-h}} is shown below 138 138 139 \begin{c code}139 \begin{clines} 140 140 netcdf assim_background_increments { 141 141 dimensions: … … 170 170 :DOMAIN_type = "BOX" ; 171 171 } 172 \end{c code}172 \end{clines} 173 173 174 174 \end{document} -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_CONFIG.tex
r9387 r9388 26 26 27 27 %------------------------------------------namcfg---------------------------------------------------- 28 \for tranfile{namelists/namcfg}28 \forfile{../namelists/namcfg} 29 29 %------------------------------------------------------------------------------------------------------------- 30 30 -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_DIA.tex
r9387 r9388 1052 1052 1053 1053 %------------------------------------------namnc4---------------------------------------------------- 1054 \for tranfile{namelists/namnc4}1054 \forfile{../namelists/namnc4} 1055 1055 %------------------------------------------------------------------------------------------------------------- 1056 1056 … … 1080 1080 1081 1081 \vspace{-20pt} 1082 \begin{for trancode}1082 \begin{forlines} 1083 1083 ichunksz(1) = MIN( idomain_size,MAX( (idomain_size-1)/nn_nchunks_i + 1 ,16 ) ) 1084 1084 ichunksz(2) = MIN( jdomain_size,MAX( (jdomain_size-1)/nn_nchunks_j + 1 ,16 ) ) 1085 1085 ichunksz(3) = MIN( kdomain_size,MAX( (kdomain_size-1)/nn_nchunks_k + 1 , 1 ) ) 1086 1086 ichunksz(4) = 1 1087 \end{for trancode}1087 \end{forlines} 1088 1088 1089 1089 \noindent As an example, setting: 1090 1090 \vspace{-20pt} 1091 \begin{for trancode}1091 \begin{forlines} 1092 1092 nn_nchunks_i=4, nn_nchunks_j=4 and nn_nchunks_k=31 1093 \end{for trancode}1093 \end{forlines} 1094 1094 1095 1095 \noindent for a standard ORCA2\_LIM configuration gives chunksizes of {\small\tt 46x38x1} … … 1156 1156 1157 1157 %------------------------------------------namtrd---------------------------------------------------- 1158 \for tranfile{namelists/namtrd}1158 \forfile{../namelists/namtrd} 1159 1159 %------------------------------------------------------------------------------------------------------------- 1160 1160 … … 1195 1195 \label{FLO} 1196 1196 %--------------------------------------------namflo------------------------------------------------------- 1197 \for tranfile{namelists/namflo}1197 \forfile{../namelists/namflo} 1198 1198 %-------------------------------------------------------------------------------------------------------------- 1199 1199 … … 1305 1305 1306 1306 %------------------------------------------namdia_harm---------------------------------------------------- 1307 %\for tranfile{namelists/namdia_harm}1307 %\forfile{../namelists/namdia_harm} 1308 1308 %---------------------------------------------------------------------------------------------------------- 1309 1309 … … 1347 1347 1348 1348 %------------------------------------------namdct---------------------------------------------------- 1349 \for tranfile{namelists/namdct}1349 \forfile{../namelists/namdct} 1350 1350 %------------------------------------------------------------------------------------------------------------- 1351 1351 … … 1676 1676 1677 1677 %------------------------------------------namptr----------------------------------------- 1678 \for tranfile{namelists/namptr}1678 \forfile{../namelists/namptr} 1679 1679 %----------------------------------------------------------------------------------------- 1680 1680 … … 1719 1719 1720 1720 %------------------------------------------nam_dia25h------------------------------------- 1721 \for tranfile{namelists/nam_dia25h}1721 \forfile{../namelists/nam_dia25h} 1722 1722 %----------------------------------------------------------------------------------------- 1723 1723 … … 1734 1734 1735 1735 %------------------------------------------nam_diatmb----------------------------------------------------- 1736 \for tranfile{namelists/nam_diatmb}1736 \forfile{../namelists/nam_diatmb} 1737 1737 %---------------------------------------------------------------------------------------------------------- 1738 1738 -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_DIU.tex
r9387 r9388 34 34 35 35 Both the cool skin and warm layer models are controlled through the namelist \ngn{namdiu}: 36 \for tranfile{namelists/namdiu}36 \forfile{../namelists/namdiu} 37 37 This namelist contains only two variables: 38 38 \begin{description} -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_DOM.tex
r9387 r9388 310 310 311 311 These fields can be read in an domain input file which name is setted in \np{cn\_domcfg} parameter specified in \ngn{namcfg}. 312 \for tranfile{namelists/namcfg}312 \forfile{../namelists/namcfg} 313 313 or they can be defined in an analytical way in MY\_SRC directory of the configuration. 314 314 For Reference Configurations of NEMO input domain files are supplied by NEMO System Team. For analytical definition of input fields two routines are supplied: \mdl{userdef\_hgr} and \mdl{userdef\_zgr}. They are an example of GYRE configuration parameters, and they are available in NEMO/OPA\_SRC/USR directory, they provide the horizontal and vertical mesh. … … 431 431 \label{DOM_zgr} 432 432 %-----------------------------------------nam_zgr & namdom------------------------------------------- 433 %\for tranfile{namelists/namzgr}434 \for tranfile{namelists/namdom}433 %\forfile{../namelists/namzgr} 434 \forfile{../namelists/namdom} 435 435 %------------------------------------------------------------------------------------------------------------- 436 436 … … 692 692 \label{DOM_zps} 693 693 %--------------------------------------------namdom------------------------------------------------------- 694 \for tranfile{namelists/namdom}694 \forfile{../namelists/namdom} 695 695 %-------------------------------------------------------------------------------------------------------------- 696 696 … … 725 725 \label{DOM_sco} 726 726 %------------------------------------------nam_zgr_sco--------------------------------------------------- 727 %\for tranfile{namelists/namzgr_sco}727 %\forfile{../namelists/namzgr_sco} 728 728 %-------------------------------------------------------------------------------------------------------------- 729 729 Options are defined in \ngn{namzgr\_sco}. … … 916 916 \label{DTA_tsd} 917 917 %-----------------------------------------namtsd------------------------------------------- 918 \for tranfile{namelists/namtsd}918 \forfile{../namelists/namtsd} 919 919 %------------------------------------------------------------------------------------------ 920 920 -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_DYN.tex
r9387 r9388 162 162 \label{DYN_adv_cor_vect} 163 163 %-----------------------------------------nam_dynadv---------------------------------------------------- 164 \for tranfile{namelists/namdyn_adv}164 \forfile{../namelists/namdyn_adv} 165 165 %------------------------------------------------------------------------------------------------------------- 166 166 … … 182 182 \label{DYN_vor} 183 183 %------------------------------------------nam_dynvor---------------------------------------------------- 184 \for tranfile{namelists/namdyn_vor}184 \forfile{../namelists/namdyn_vor} 185 185 %------------------------------------------------------------------------------------------------------------- 186 186 … … 391 391 \label{DYN_adv_cor_flux} 392 392 %------------------------------------------nam_dynadv---------------------------------------------------- 393 \for tranfile{namelists/namdyn_adv}393 \forfile{../namelists/namdyn_adv} 394 394 %------------------------------------------------------------------------------------------------------------- 395 395 … … 536 536 \label{DYN_hpg} 537 537 %------------------------------------------nam_dynhpg--------------------------------------------------- 538 \for tranfile{namelists/namdyn_hpg}538 \forfile{../namelists/namdyn_hpg} 539 539 %------------------------------------------------------------------------------------------------------------- 540 540 … … 736 736 \label{DYN_spg} 737 737 %-----------------------------------------nam_dynspg---------------------------------------------------- 738 \for tranfile{namelists/namdyn_spg}738 \forfile{../namelists/namdyn_spg} 739 739 %------------------------------------------------------------------------------------------------------------ 740 740 … … 796 796 \label{DYN_spg_ts} 797 797 %------------------------------------------namsplit----------------------------------------------------------- 798 %\for tranfile{namelists/namsplit}798 %\forfile{../namelists/namsplit} 799 799 %------------------------------------------------------------------------------------------------------------- 800 800 … … 1005 1005 \label{DYN_ldf} 1006 1006 %------------------------------------------nam_dynldf---------------------------------------------------- 1007 \for tranfile{namelists/namdyn_ldf}1007 \forfile{../namelists/namdyn_ldf} 1008 1008 %------------------------------------------------------------------------------------------------------------- 1009 1009 … … 1149 1149 \label{DYN_zdf} 1150 1150 %----------------------------------------------namzdf------------------------------------------------------ 1151 \for tranfile{namelists/namzdf}1151 \forfile{../namelists/namzdf} 1152 1152 %------------------------------------------------------------------------------------------------------------- 1153 1153 … … 1227 1227 1228 1228 %----------------------------------------------namdom---------------------------------------------------- 1229 \for tranfile{namelists/namdom}1229 \forfile{../namelists/namdom} 1230 1230 %------------------------------------------------------------------------------------------------------------- 1231 1231 -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_LBC.tex
r9387 r9388 20 20 \label{LBC_coast} 21 21 %--------------------------------------------nam_lbc------------------------------------------------------- 22 \for tranfile{namelists/namlbc}22 \forfile{../namelists/namlbc} 23 23 %-------------------------------------------------------------------------------------------------------------- 24 24 … … 354 354 355 355 %-----------------------------------------nambdy-------------------------------------------- 356 \for tranfile{namelists/nambdy}356 \forfile{../namelists/nambdy} 357 357 %----------------------------------------------------------------------------------------------- 358 358 %-----------------------------------------nambdy_index-------------------------------------------- 359 %\for tranfile{namelists/nambdy_index}359 %\forfile{../namelists/nambdy_index} 360 360 %----------------------------------------------------------------------------------------------- 361 361 %-----------------------------------------nambdy_dta-------------------------------------------- 362 \for tranfile{namelists/nambdy_dta}362 \forfile{../namelists/nambdy_dta} 363 363 %----------------------------------------------------------------------------------------------- 364 364 %-----------------------------------------nambdy_dta-------------------------------------------- 365 %\for tranfile{namelists/nambdy_dta2}365 %\forfile{../namelists/nambdy_dta2} 366 366 %----------------------------------------------------------------------------------------------- 367 367 … … 635 635 636 636 %-----------------------------------------nambdy_tide-------------------------------------------- 637 \for tranfile{namelists/nambdy_tide}637 \forfile{../namelists/nambdy_tide} 638 638 %----------------------------------------------------------------------------------------------- 639 639 -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_LDF.tex
r9387 r9388 28 28 29 29 %-----------------------------------nam_traldf - nam_dynldf-------------------------------------------- 30 \for tranfile{namelists/namtra_ldf}31 \for tranfile{namelists/namdyn_ldf}30 \forfile{../namelists/namtra_ldf} 31 \forfile{../namelists/namdyn_ldf} 32 32 %-------------------------------------------------------------------------------------------------------------- 33 33 -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_OBS.tex
r9387 r9388 70 70 71 71 \item Compile the OBSTOOLS code using: 72 \begin{ shcode}72 \begin{cmds} 73 73 ./maketools -n OBSTOOLS -m [ARCH]. 74 \end{ shcode}74 \end{cmds} 75 75 76 76 \item Convert the EN4 data into feedback format: 77 \begin{ shcode}77 \begin{cmds} 78 78 enact2fb.exe profiles_01.nc EN.4.1.1.f.profiles.g10.YYYYMM.nc 79 \end{ shcode}79 \end{cmds} 80 80 81 81 \item Include the following in the NEMO namelist to run the observation … … 84 84 85 85 %------------------------------------------namobs_example----------------------------------------------------- 86 %\for tranfile{namelists/namobs_example}86 %\forfile{../namelists/namobs_example} 87 87 %------------------------------------------------------------------------------------------------------------- 88 88 … … 114 114 115 115 %------------------------------------------namobs-------------------------------------------------------- 116 \for tranfile{namelists/namobs}116 \forfile{../namelists/namobs} 117 117 %------------------------------------------------------------------------------------------------------------- 118 118 … … 126 126 \subsection{Profile feedback} 127 127 128 \begin{c code}128 \begin{clines} 129 129 netcdf profiles_01 { 130 130 dimensions: … … 278 278 :Convention = "NEMO unified observation operator output" ; 279 279 } 280 \end{c code}280 \end{clines} 281 281 282 282 \subsection{Sea level anomaly feedback} 283 283 284 \begin{c code}284 \begin{clines} 285 285 netcdf sla_01 { 286 286 dimensions: … … 402 402 :Convention = "NEMO unified observation operator output" ; 403 403 } 404 \end{c code}404 \end{clines} 405 405 406 406 The mean dynamic … … 410 410 surface height. Below is an example header for this file (on the ORCA025 grid). 411 411 412 \begin{c code}412 \begin{clines} 413 413 dimensions: 414 414 x = 1442 ; … … 425 425 sossheig:units = "metres" ; 426 426 sossheig:grid = "orca025T" ; 427 \end{c code}427 \end{clines} 428 428 429 429 \subsection{Sea surface temperature feedback} 430 430 431 \begin{c code}431 \begin{clines} 432 432 netcdf sst_01 { 433 433 dimensions: … … 542 542 :Convention = "NEMO unified observation operator output" ; 543 543 } 544 \end{c code}544 \end{clines} 545 545 546 546 \section{Theoretical details} … … 923 923 read the second time counter from a single file the namelist would be. 924 924 925 \begin{for trancode}925 \begin{forlines} 926 926 !---------------------------------------------------------------------- 927 927 ! namooo Offline obs_oper namelist … … 933 933 nn_ooo_idx = 2 934 934 / 935 \end{for trancode}935 \end{forlines} 936 936 937 937 \subsubsection{Multiple fields per run} … … 941 941 12 hourly fields are to be interpolated in a setup where 288 steps equals 24 hours. 942 942 943 \begin{for trancode}943 \begin{forlines} 944 944 !---------------------------------------------------------------------- 945 945 ! namooo Offline obs_oper namelist … … 953 953 nn_ooo_freq = 144 954 954 / 955 \end{for trancode}955 \end{forlines} 956 956 957 957 The above namelist will result in feedback files whose first 12 hours contain … … 1061 1061 fields plus an analysis field would be 7 counterparts per observation. 1062 1062 1063 \begin{for trancode}1063 \begin{forlines} 1064 1064 cl4_match_len = 7 1065 \end{for trancode}1065 \end{forlines} 1066 1066 1067 1067 Then to correctly allocate a class 4 file the forecast axis must be defined. This 1068 1068 is controlled via \textbf{cl4\_fcst\_len}, which in out above example would be 3. 1069 1069 1070 \begin{for trancode}1070 \begin{forlines} 1071 1071 cl4_fcst_len = 3 1072 \end{for trancode}1072 \end{forlines} 1073 1073 1074 1074 Then for each model field it is necessary to designate what class 4 variable and … … 1077 1077 when interpreting the data afterwards. 1078 1078 1079 \begin{for trancode}1079 \begin{forlines} 1080 1080 cl4_vars = "forecast" "forecast" "forecast" "persistence" "persistence" 1081 1081 "persistence" "best_estimate" 1082 1082 cl4_fcst_idx = 1 2 3 1 2 3 1 1083 1083 cl4_leadtime = 12 36 60 1084 \end{for trancode}1084 \end{forlines} 1085 1085 1086 1086 In terms of files and indices of fields inside each file the class 4 approach … … 1088 1088 with a single field per file our example inputs will be specified. 1089 1089 1090 \begin{for trancode}1090 \begin{forlines} 1091 1091 ooo_files = "F.1.nc" "F.2.nc" "F.3.nc" "P.1.nc" "P.2.nc" "P.3.nc" "A.1.nc" 1092 1092 nn_ooo_idx = 1 1 1 1 1 1 1 1093 \end{for trancode}1093 \end{forlines} 1094 1094 1095 1095 When we combine all of the naming conventions, global attributes and i/o instructions 1096 1096 the class 4 namelist becomes. 1097 1097 1098 \begin{for trancode}1098 \begin{forlines} 1099 1099 !---------------------------------------------------------------------- 1100 1100 ! namooo Offline obs_oper namelist … … 1144 1144 cl4_inst = "UK Met Office" 1145 1145 / 1146 \end{for trancode}1146 \end{forlines} 1147 1147 1148 1148 \subsubsection{Climatology interpolation} … … 1167 1167 operations, 1 per forecast. 1168 1168 1169 \begin{for trancode}1169 \begin{forlines} 1170 1170 ooo_files = "F1.nc" "F1.nc" "F2.nc" "F2.nc" 1171 1171 ... 1172 1172 cl4_fcst_idx = 1 2 1173 \end{for trancode}1173 \end{forlines} 1174 1174 1175 1175 The above notation reveals the internal split between match up iterators and file … … 1205 1205 1206 1206 \footnotesize 1207 \begin{ shcode}1207 \begin{cmds} 1208 1208 c4comb.exe outputfile inputfile1 inputfile2 ... 1209 \end{ shcode}1209 \end{cmds} 1210 1210 1211 1211 \subsubsection{corio2fb} … … 1215 1215 1216 1216 \footnotesize 1217 \begin{ shcode}1217 \begin{cmds} 1218 1218 corio2fb.exe outputfile inputfile1 inputfile2 ... 1219 \end{ shcode}1219 \end{cmds} 1220 1220 1221 1221 \subsubsection{enact2fb} … … 1225 1225 1226 1226 \footnotesize 1227 \begin{ shcode}1227 \begin{cmds} 1228 1228 enact2fb.exe outputfile inputfile1 inputfile2 ... 1229 \end{ shcode}1229 \end{cmds} 1230 1230 1231 1231 \subsubsection{fbcomb} … … 1235 1235 1236 1236 \footnotesize 1237 \begin{ shcode}1237 \begin{cmds} 1238 1238 fbcomb.exe outputfile inputfile1 inputfile2 ... 1239 \end{ shcode}1239 \end{cmds} 1240 1240 1241 1241 \subsubsection{fbmatchup} … … 1245 1245 1246 1246 \footnotesize 1247 \begin{ shcode}1247 \begin{cmds} 1248 1248 fbmatchup.exe outputfile inputfile1 varname1 inputfile2 varname2 ... 1249 \end{ shcode}1249 \end{cmds} 1250 1250 1251 1251 \subsubsection{fbprint} … … 1256 1256 1257 1257 \footnotesize 1258 \begin{ shcode}1258 \begin{cmds} 1259 1259 fbprint.exe [options] inputfile 1260 1260 … … 1276 1276 -D print depths 1277 1277 -z use zipped files 1278 \end{ shcode}1278 \end{cmds} 1279 1279 1280 1280 \subsubsection{fbsel} … … 1284 1284 1285 1285 \footnotesize 1286 \begin{ shcode}1286 \begin{cmds} 1287 1287 fbsel.exe <input filename> <output filename> 1288 \end{ shcode}1288 \end{cmds} 1289 1289 1290 1290 \subsubsection{fbstat} … … 1294 1294 1295 1295 \footnotesize 1296 \begin{ shcode}1296 \begin{cmds} 1297 1297 fbstat.exe [-nmlev] <filenames> 1298 \end{ shcode}1298 \end{cmds} 1299 1299 1300 1300 \subsubsection{fbthin} … … 1304 1304 1305 1305 \footnotesize 1306 \begin{ shcode}1306 \begin{cmds} 1307 1307 fbthin.exe inputfile outputfile 1308 \end{ shcode}1308 \end{cmds} 1309 1309 1310 1310 \subsubsection{sla2fb} … … 1314 1314 1315 1315 \footnotesize 1316 \begin{ shcode}1316 \begin{cmds} 1317 1317 sla2fb.exe [-s type] outputfile inputfile1 inputfile2 ... 1318 1318 1319 1319 Option: 1320 1320 -s Select altimeter data_source 1321 \end{ shcode}1321 \end{cmds} 1322 1322 1323 1323 \subsubsection{vel2fb} … … 1327 1327 1328 1328 \footnotesize 1329 \begin{ shcode}1329 \begin{cmds} 1330 1330 vel2fb.exe outputfile inputfile1 inputfile2 ... 1331 \end{ shcode}1331 \end{cmds} 1332 1332 1333 1333 \subsection{building the obstools} -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_SBC.tex
r9387 r9388 11 11 $\ $\newline % force a new ligne 12 12 %---------------------------------------namsbc-------------------------------------------------- 13 \for tranfile{namelists/namsbc}13 \forfile{../namelists/namsbc} 14 14 %-------------------------------------------------------------------------------------------------------------- 15 15 $\ $\newline % force a new ligne … … 196 196 197 197 The structure associated with an input variable contains the following information: 198 \begin{for trancode}198 \begin{forlines} 199 199 ! file name ! frequency (hours) ! variable ! time interp. ! clim ! 'yearly'/ ! weights ! rotation ! land/sea mask ! 200 200 ! ! (if <0 months) ! name ! (logical) ! (T/F) ! 'monthly' ! filename ! pairing ! filename ! 201 \end{for trancode}201 \end{forlines} 202 202 where 203 203 \begin{description} … … 425 425 426 426 %---------------------------------------namsbc_ana-------------------------------------------------- 427 \for tranfile{namelists/namsbc_sas}427 \forfile{../namelists/namsbc_sas} 428 428 %-------------------------------------------------------------------------------------------------------------- 429 429 … … 486 486 487 487 %---------------------------------------namsbc_ana-------------------------------------------------- 488 %\for tranfile{namelists/namsbc_ana}488 %\forfile{../namelists/namsbc_ana} 489 489 %-------------------------------------------------------------------------------------------------------------- 490 490 … … 510 510 \label{SBC_flx} 511 511 %------------------------------------------namsbc_flx---------------------------------------------------- 512 \for tranfile{namelists/namsbc_flx}512 \forfile{../namelists/namsbc_flx} 513 513 %------------------------------------------------------------------------------------------------------------- 514 514 … … 550 550 \label{SBC_blk_core} 551 551 %------------------------------------------namsbc_core---------------------------------------------------- 552 %\for tranfile{namelists/namsbc_core}552 %\forfile{../namelists/namsbc_core} 553 553 %------------------------------------------------------------------------------------------------------------- 554 554 … … 615 615 \label{SBC_blk_clio} 616 616 %------------------------------------------namsbc_clio---------------------------------------------------- 617 %\for tranfile{namelists/namsbc_clio}617 %\forfile{../namelists/namsbc_clio} 618 618 %------------------------------------------------------------------------------------------------------------- 619 619 … … 656 656 \label{SBC_blk_mfs} 657 657 %------------------------------------------namsbc_mfs---------------------------------------------------- 658 %\for tranfile{namelists/namsbc_mfs}658 %\forfile{../namelists/namsbc_mfs} 659 659 %---------------------------------------------------------------------------------------------------------- 660 660 … … 695 695 \label{SBC_cpl} 696 696 %------------------------------------------namsbc_cpl---------------------------------------------------- 697 \for tranfile{namelists/namsbc_cpl}697 \forfile{../namelists/namsbc_cpl} 698 698 %------------------------------------------------------------------------------------------------------------- 699 699 … … 734 734 \label{SBC_apr} 735 735 %------------------------------------------namsbc_apr---------------------------------------------------- 736 \for tranfile{namelists/namsbc_apr}736 \forfile{../namelists/namsbc_apr} 737 737 %------------------------------------------------------------------------------------------------------------- 738 738 … … 770 770 771 771 %------------------------------------------nam_tide--------------------------------------- 772 \for tranfile{namelists/nam_tide}772 \forfile{../namelists/nam_tide} 773 773 %----------------------------------------------------------------------------------------- 774 774 … … 825 825 \label{SBC_rnf} 826 826 %------------------------------------------namsbc_rnf---------------------------------------------------- 827 \for tranfile{namelists/namsbc_rnf}827 \forfile{../namelists/namsbc_rnf} 828 828 %------------------------------------------------------------------------------------------------------------- 829 829 … … 941 941 \label{SBC_isf} 942 942 %------------------------------------------namsbc_isf---------------------------------------------------- 943 \for tranfile{namelists/namsbc_isf}943 \forfile{../namelists/namsbc_isf} 944 944 %-------------------------------------------------------------------------------------------------------- 945 945 Namelist variable in \ngn{namsbc}, \np{nn\_isf}, controls the ice shelf representation used. … … 1022 1022 \label{SBC_iscpl} 1023 1023 %------------------------------------------namsbc_iscpl---------------------------------------------------- 1024 \for tranfile{namelists/namsbc_iscpl}1024 \forfile{../namelists/namsbc_iscpl} 1025 1025 %-------------------------------------------------------------------------------------------------------- 1026 1026 Ice sheet/ocean coupling is done through file exchange at the restart step. NEMO, at each restart step, … … 1060 1060 \label{ICB_icebergs} 1061 1061 %------------------------------------------namberg---------------------------------------------------- 1062 \for tranfile{namelists/namberg}1062 \forfile{../namelists/namberg} 1063 1063 %------------------------------------------------------------------------------------------------------------- 1064 1064 … … 1132 1132 \label{SBC_dcy} 1133 1133 %------------------------------------------namsbc_rnf---------------------------------------------------- 1134 %\for tranfile{namelists/namsbc}1134 %\forfile{../namelists/namsbc} 1135 1135 %------------------------------------------------------------------------------------------------------------- 1136 1136 … … 1209 1209 \label{SBC_ssr} 1210 1210 %------------------------------------------namsbc_ssr---------------------------------------------------- 1211 \for tranfile{namelists/namsbc_ssr}1211 \forfile{../namelists/namsbc_ssr} 1212 1212 %------------------------------------------------------------------------------------------------------------- 1213 1213 … … 1329 1329 \label{SBC_wave} 1330 1330 %------------------------------------------namwave---------------------------------------------------- 1331 \for tranfile{namelists/namsbc_wave}1331 \forfile{../namelists/namsbc_wave} 1332 1332 %------------------------------------------------------------------------------------------------------------- 1333 1333 -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_STO.tex
r9387 r9388 124 124 125 125 %---------------------------------------namsbc-------------------------------------------------- 126 \for tranfile{namelists/namsto}126 \forfile{../namelists/namsto} 127 127 %-------------------------------------------------------------------------------------------------------------- 128 128 -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_TRA.tex
r9387 r9388 67 67 \label{TRA_adv} 68 68 %------------------------------------------namtra_adv----------------------------------------------------- 69 \for tranfile{namelists/namtra_adv}69 \forfile{../namelists/namtra_adv} 70 70 %------------------------------------------------------------------------------------------------------------- 71 71 … … 432 432 \label{TRA_ldf} 433 433 %-----------------------------------------nam_traldf------------------------------------------------------ 434 \for tranfile{namelists/namtra_ldf}434 \forfile{../namelists/namtra_ldf} 435 435 %------------------------------------------------------------------------------------------------------------- 436 436 … … 652 652 \label{TRA_zdf} 653 653 %--------------------------------------------namzdf--------------------------------------------------------- 654 \for tranfile{namelists/namzdf}654 \forfile{../namelists/namzdf} 655 655 %-------------------------------------------------------------------------------------------------------------- 656 656 … … 777 777 \label{TRA_qsr} 778 778 %--------------------------------------------namqsr-------------------------------------------------------- 779 \for tranfile{namelists/namtra_qsr}779 \forfile{../namelists/namtra_qsr} 780 780 %-------------------------------------------------------------------------------------------------------------- 781 781 … … 888 888 \label{TRA_bbc} 889 889 %--------------------------------------------nambbc-------------------------------------------------------- 890 \for tranfile{namelists/nambbc}890 \forfile{../namelists/nambbc} 891 891 %-------------------------------------------------------------------------------------------------------------- 892 892 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 927 927 \label{TRA_bbl} 928 928 %--------------------------------------------nambbl--------------------------------------------------------- 929 \for tranfile{namelists/nambbl}929 \forfile{../namelists/nambbl} 930 930 %-------------------------------------------------------------------------------------------------------------- 931 931 … … 1087 1087 \label{TRA_dmp} 1088 1088 %--------------------------------------------namtra_dmp------------------------------------------------- 1089 \for tranfile{namelists/namtra_dmp}1089 \forfile{../namelists/namtra_dmp} 1090 1090 %-------------------------------------------------------------------------------------------------------------- 1091 1091 … … 1172 1172 \label{TRA_nxt} 1173 1173 %--------------------------------------------namdom----------------------------------------------------- 1174 \for tranfile{namelists/namdom}1174 \forfile{../namelists/namdom} 1175 1175 %-------------------------------------------------------------------------------------------------------------- 1176 1176 … … 1211 1211 \label{TRA_eosbn2} 1212 1212 %--------------------------------------------nameos----------------------------------------------------- 1213 \for tranfile{namelists/nameos}1213 \forfile{../namelists/nameos} 1214 1214 %-------------------------------------------------------------------------------------------------------------- 1215 1215 -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_ZDF.tex
r9387 r9388 52 52 \label{ZDF_cst} 53 53 %--------------------------------------------namzdf--------------------------------------------------------- 54 \for tranfile{namelists/namzdf}54 \forfile{../namelists/namzdf} 55 55 %-------------------------------------------------------------------------------------------------------------- 56 56 … … 78 78 79 79 %--------------------------------------------namric--------------------------------------------------------- 80 \for tranfile{namelists/namzdf_ric}80 \forfile{../namelists/namzdf_ric} 81 81 %-------------------------------------------------------------------------------------------------------------- 82 82 … … 136 136 137 137 %--------------------------------------------namzdf_tke-------------------------------------------------- 138 \for tranfile{namelists/namzdf_tke}138 \forfile{../namelists/namzdf_tke} 139 139 %-------------------------------------------------------------------------------------------------------------- 140 140 … … 512 512 513 513 %--------------------------------------------namzdf_gls--------------------------------------------------------- 514 \for tranfile{namelists/namzdf_gls}514 \forfile{../namelists/namzdf_gls} 515 515 %-------------------------------------------------------------------------------------------------------------- 516 516 … … 619 619 620 620 %--------------------------------------------namzdf_osm--------------------------------------------------------- 621 \for tranfile{namelists/namzdf_osm}621 \forfile{../namelists/namzdf_osm} 622 622 %-------------------------------------------------------------------------------------------------------------- 623 623 … … 631 631 632 632 %--------------------------------------------namzdf-------------------------------------------------------- 633 \for tranfile{namelists/namzdf}633 \forfile{../namelists/namzdf} 634 634 %-------------------------------------------------------------------------------------------------------------- 635 635 … … 651 651 652 652 %--------------------------------------------namzdf-------------------------------------------------------- 653 \for tranfile{namelists/namzdf}653 \forfile{../namelists/namzdf} 654 654 %-------------------------------------------------------------------------------------------------------------- 655 655 … … 718 718 719 719 %--------------------------------------------namzdf-------------------------------------------------------- 720 \for tranfile{namelists/namzdf}720 \forfile{../namelists/namzdf} 721 721 %-------------------------------------------------------------------------------------------------------------- 722 722 … … 777 777 778 778 %-------------------------------------------namzdf_ddm------------------------------------------------- 779 %\for tranfile{namelists/namzdf_ddm}779 %\forfile{../namelists/namzdf_ddm} 780 780 %-------------------------------------------------------------------------------------------------------------- 781 781 … … 859 859 860 860 %--------------------------------------------nambfr-------------------------------------------------------- 861 %\for tranfile{namelists/nambfr}861 %\forfile{../namelists/nambfr} 862 862 %-------------------------------------------------------------------------------------------------------------- 863 863 … … 1196 1196 1197 1197 %--------------------------------------------namzdf_tmx-------------------------------------------------- 1198 %\for tranfile{namelists/namzdf_tmx}1198 %\forfile{../namelists/namzdf_tmx} 1199 1199 %-------------------------------------------------------------------------------------------------------------- 1200 1200 … … 1318 1318 1319 1319 %--------------------------------------------namzdf_tmx_new------------------------------------------ 1320 %\for tranfile{namelists/namzdf_tmx_new}1320 %\forfile{../namelists/namzdf_tmx_new} 1321 1321 %-------------------------------------------------------------------------------------------------------------- 1322 1322 -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_misc.tex
r9387 r9388 119 119 \noindent Add the new attribute to any input files requiring a j-row offset, i.e: 120 120 \vspace{-10pt} 121 \begin{ shcode}121 \begin{cmds} 122 122 ncatted -a open_ocean_jstart,global,a,d,41 eORCA1_coordinates.nc 123 123 ncatted -a open_ocean_jstart,global,a,d,41 eORCA1_bathymetry_v2.nc 124 \end{ shcode}124 \end{cmds} 125 125 126 126 \noindent Add the logical switch to \ngn{namcfg} in the configuration namelist and set true: 127 127 %--------------------------------------------namcfg-------------------------------------------------------- 128 \for tranfile{namelists/namcfg}128 \forfile{../namelists/namcfg} 129 129 %-------------------------------------------------------------------------------------------------------------- 130 130 … … 134 134 and 3D, netcdf, input field by adding the: 135 135 \vspace{-10pt} 136 \begin{for trancode}136 \begin{forlines} 137 137 lrowattr=ln_use_jattr 138 \end{for trancode}138 \end{forlines} 139 139 optional argument to the appropriate \np{iom\_get} call and the \np{open\_ocean\_jstart} attribute to the corresponding input files. It remains the users responsibility to set \np{jpjdta} and \np{jpjglo} values in the \np{namelist\_cfg} file according to their needs. 140 140 … … 235 235 \label{MISC_opt} 236 236 %--------------------------------------------namctl------------------------------------------------------- 237 \for tranfile{namelists/namctl}237 \forfile{../namelists/namctl} 238 238 %-------------------------------------------------------------------------------------------------------------- 239 239 -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_model_basics_zstar.tex
r9387 r9388 78 78 \label{DYN_hpg_spg} 79 79 %-----------------------------------------nam_dynspg---------------------------------------------------- 80 \for tranfile{namelists/nam_dynspg}80 \forfile{../namelists/nam_dynspg} 81 81 %------------------------------------------------------------------------------------------------------------ 82 82 Options are defined through the \ngn{nam\_dynspg} namelist variables. … … 115 115 \label{DYN_spg_ts} 116 116 %--------------------------------------------namdom---------------------------------------------------- 117 \for tranfile{namelists/namdom}117 \forfile{../namelists/namdom} 118 118 %-------------------------------------------------------------------------------------------------------------- 119 119 The split-explicit free surface formulation used in OPA follows the one proposed by \citet{Griffies2004}. The general idea is to solve the free surface equation with a small time step, while the three dimensional prognostic variables are solved with a longer time step that is a multiple of \np{rdtbt} -
branches/2017/dev_merge_2017/DOC/tex_sub/chap_time_domain.tex
r9387 r9388 286 286 287 287 %--------------------------------------------namrun------------------------------------------- 288 \for tranfile{namelists/namrun}288 \forfile{../namelists/namrun} 289 289 %-------------------------------------------------------------------------------------------------------------- 290 290 … … 337 337 \label{STP_time} 338 338 %--------------------------------------------namrun------------------------------------------- 339 \for tranfile{namelists/namdom}339 \forfile{../namelists/namdom} 340 340 %-------------------------------------------------------------------------------------------------------------- 341 341 -
branches/2017/dev_merge_2017/DOC/tex_sub/introduction.tex
r9387 r9388 93 93 Usual coding looks like : 94 94 \vspace{-10pt} 95 \begin{for trancode}95 \begin{forlines} 96 96 #if defined key_option1 97 97 ! This part of the FORTRAN code will be active 98 98 ! only if key_option1 is activated at compiling step 99 99 #endif 100 \end{for trancode}100 \end{forlines} 101 101 102 102 \noindent \index{Namelist} Namelists
Note: See TracChangeset
for help on using the changeset viewer.