New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 9388 for branches/2017/dev_merge_2017/DOC/tex_sub/chap_DIA.tex – NEMO

Ignore:
Timestamp:
2018-03-08T17:57:24+01:00 (6 years ago)
Author:
nicolasmartin
Message:

Global reorganisation of DOC directory: implementation and configuration of syntax highlighting with 'minted' LaTeX package
New macros have been created to insert different source codes (fortran, xml, c and shell-session) in the document.
Pygments Python package is now required to compile the documentation.

Location:
branches/2017/dev_merge_2017/DOC/tex_sub
Files:
1 added
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/DOC/tex_sub/chap_DIA.tex

    r9387 r9388  
    10521052 
    10531053%------------------------------------------namnc4---------------------------------------------------- 
    1054 \fortranfile{namelists/namnc4} 
     1054\forfile{../namelists/namnc4} 
    10551055%------------------------------------------------------------------------------------------------------------- 
    10561056 
     
    10801080 
    10811081\vspace{-20pt} 
    1082 \begin{fortrancode} 
     1082\begin{forlines} 
    10831083     ichunksz(1) = MIN( idomain_size,MAX( (idomain_size-1)/nn_nchunks_i + 1 ,16 ) ) 
    10841084     ichunksz(2) = MIN( jdomain_size,MAX( (jdomain_size-1)/nn_nchunks_j + 1 ,16 ) ) 
    10851085     ichunksz(3) = MIN( kdomain_size,MAX( (kdomain_size-1)/nn_nchunks_k + 1 , 1 ) ) 
    10861086     ichunksz(4) = 1 
    1087 \end{fortrancode} 
     1087\end{forlines} 
    10881088 
    10891089\noindent As an example, setting: 
    10901090\vspace{-20pt} 
    1091 \begin{fortrancode} 
     1091\begin{forlines} 
    10921092     nn_nchunks_i=4, nn_nchunks_j=4 and nn_nchunks_k=31 
    1093 \end{fortrancode} 
     1093\end{forlines} 
    10941094 
    10951095\noindent for a standard ORCA2\_LIM configuration gives chunksizes of {\small\tt 46x38x1} 
     
    11561156 
    11571157%------------------------------------------namtrd---------------------------------------------------- 
    1158 \fortranfile{namelists/namtrd}  
     1158\forfile{../namelists/namtrd}  
    11591159%------------------------------------------------------------------------------------------------------------- 
    11601160 
     
    11951195\label{FLO} 
    11961196%--------------------------------------------namflo------------------------------------------------------- 
    1197 \fortranfile{namelists/namflo}  
     1197\forfile{../namelists/namflo}  
    11981198%-------------------------------------------------------------------------------------------------------------- 
    11991199 
     
    13051305 
    13061306%------------------------------------------namdia_harm---------------------------------------------------- 
    1307 %\fortranfile{namelists/namdia_harm} 
     1307%\forfile{../namelists/namdia_harm} 
    13081308%---------------------------------------------------------------------------------------------------------- 
    13091309 
     
    13471347 
    13481348%------------------------------------------namdct---------------------------------------------------- 
    1349 \fortranfile{namelists/namdct} 
     1349\forfile{../namelists/namdct} 
    13501350%------------------------------------------------------------------------------------------------------------- 
    13511351 
     
    16761676 
    16771677%------------------------------------------namptr----------------------------------------- 
    1678 \fortranfile{namelists/namptr}  
     1678\forfile{../namelists/namptr}  
    16791679%----------------------------------------------------------------------------------------- 
    16801680 
     
    17191719 
    17201720%------------------------------------------nam_dia25h------------------------------------- 
    1721 \fortranfile{namelists/nam_dia25h} 
     1721\forfile{../namelists/nam_dia25h} 
    17221722%----------------------------------------------------------------------------------------- 
    17231723 
     
    17341734 
    17351735%------------------------------------------nam_diatmb----------------------------------------------------- 
    1736 \fortranfile{namelists/nam_diatmb} 
     1736\forfile{../namelists/nam_diatmb} 
    17371737%---------------------------------------------------------------------------------------------------------- 
    17381738 
Note: See TracChangeset for help on using the changeset viewer.