%-----------------------------------------------------------------------
%
%     This file is part of the Code_Saturne Kernel, element of the
%     Code_Saturne CFD tool.
% 
%     Copyright (C) 1998-2009 EDF S.A., France
%
%     contact: saturne-support@edf.fr
% 
%     The Code_Saturne Kernel is free software; you can redistribute it
%     and/or modify it under the terms of the GNU General Public License
%     as published by the Free Software Foundation; either version 2 of
%     the License, or (at your option) any later version.
% 
%     The Code_Saturne Kernel is distributed in the hope that it will be
%     useful, but WITHOUT ANY WARRANTY; without even the implied warranty
%     of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%     GNU General Public License for more details.
% 
%     You should have received a copy of the GNU General Public License
%     along with the Code_Saturne Kernel; if not, write to the
%     Free Software Foundation, Inc.,
%     51 Franklin St, Fifth Floor,
%     Boston, MA  02110-1301  USA
%
%-----------------------------------------------------------------------
%
% Name of classical tools of the Code_Saturne environment
% (note that Code_Saturne itself is defined in csvers.tex)
%
\newcommand{\ensight}{EnSight\xspace}
\newcommand{\ensightg}{EnSight Gold\xspace}
\newcommand{\fluent}{FLUENT\xspace}
\newcommand{\bft}{BFT\xspace}
\newcommand{\fvm}{FVM\xspace}
\newcommand{\gambit}{GAMBIT\xspace}
\newcommand{\gmsh}{Gmsh\xspace}
\newcommand{\harpoon}{Harpoon\xspace}
\newcommand{\hexpress}{\emph{HexPress}\xspace}
\newcommand{\icemcfd}{ICEM~CFD\xspace}
\newcommand{\ideas}{I-deas\xspace}
\newcommand{\med}{MED\xspace}
\newcommand{\metis}{M\textsc{etis}\xspace}
\newcommand{\nopo}{{\sc nopp}\xspace}
\newcommand{\paraview}{ParaView\xspace}
\newcommand{\pcs}{Preprocessor\xspace}
\newcommand{\salome}{SALOME\xspace}
\newcommand{\scotch}{S\textsc{cotch}\xspace}
\newcommand{\simail}{S\textsc{IMAIL}\xspace}
\newcommand{\starcd}{\textbf{STAR-CD}\xspace}
\newcommand{\starccmp}{\textbf{STAR-CCM+}\xspace}
\newcommand{\syrthes}{SYRTHES\xspace}
\newcommand{\vtk}{VTK\xspace}
%
% Mathematical operators (and other useful related macros)
%
\newcommand{\dive}{\text{div}}
\newcommand{\divs}{\text{div}}
\newcommand{\divv}{\underline{\text{div}}}
\newcommand{\grad}{\text{g}\underline{\text{rad}}\ }
\newcommand{\ggrad}{\text{g}\underline{\underline{\text{rad}}}\ }
\newcommand{\gradv}{\text{g}\underline{\text{rad}}\ }
\newcommand{\gradt}{\text{g}\underline{\underline{\text{rad}}}\ }
\newcommand{\mat}[1]{\underline{\textrm{#1}}}
\newcommand{\matt}[1]{\underline{\underline{\textrm{#1}}}}
\newcommand{\rot}{\underline{\text{rot}}\ }
\newcommand{\vect}[1]{\underline{#1}}
\newcommand{\tens}[1]{\underline{\underline{#1}}}
%
\newcommand{\bm}[1]{\text{\boldmath $#1$ \unboldmath} \! \!}
\newcommand{\comp}[1]{\textrm{#1}}
\newcommand{\degresC}{$^\circ$C}
\newcommand{\etape}[1]{\vspace{0.3cm}$\bullet\ ${\bf #1}\\}
\newcommand{\fort}[1]{\texttt{#1}}
\newcommand{\grandN}{\mbox{I\hspace{-.15em}N}}
\newcommand{\grandC}{\mbox{l\hspace{-.47em}C}}
\newcommand{\ind}[1]{\text{$_{#1}$}}
\newcommand{\Max}{\text{Max}}
\newcommand{\Min}{\text{Min}}
\newcommand{\nl}{\vspace{1ex}}
\newcommand{\var}[1]{\ensuremath{\text{\texttt{#1}}}}
%
% Definition of variables and keywords (used in the different tables)
%
\newbox\tempbox
\newcommand{\motcle}[7]{%
   \noindent
   \setbox\tempbox\hbox{\hspace*{2.5cm}}
   \makebox[2.5cm][l]{\tt #1}\index{#1}\makebox[1.3cm][l]{#2}\makebox[6.cm][l]{#3}%
   \makebox[4.cm][l]{[#4]}#5\hspace{1cm}#6\\
   \hangindent\wd\tempbox\quad\ignorespaces#7\bigskip}
\newcommand{\motcleb}[7]{%
   \noindent
   \setbox\tempbox\hbox{\hspace*{2.5cm}}
   \makebox[2.5cm][l]{\tt \bf #1}\index{#1}\makebox[1.3cm][l]{#2}\makebox[6.cm][l]{#3}%
   \makebox[4.cm][l]{[#4]}#5\hspace{1cm}#6\\
   \hangindent\wd\tempbox\quad\ignorespaces#7\bigskip}
%
\newcommand{\variab}[4]{%
       \setbox\tempbox\hbox{ifacel [e]: }
       \hangindent\wd\tempbox\noindent{{\tt #2\index{#1}} [#3]:\quad}\ignorespaces#4.}
\newcommand{\variabsize}[2]{%
   \noindent
   \makebox[.12\linewidth][l]{\tt #1:}\index{#1}\parbox[t]{.88\linewidth}{#2.}}
\newcommand{\variablist}[4]{%
       \setbox\tempbox\hbox{ifacel [e]: }
       \hangindent\wd\tempbox\noindent{{\tt #2\index{#1}} [#3]:\quad}\ignorespaces#4\quad}
\newcommand{\envvar}[1]{\medskip\noindent{\ttfamily \large #1}}
%
% Other useful macros (for \raggedright in tabular, for a Unix tilde)
%
\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp}
\newcommand{\tildeunix}{{\huge$_{_{\widetilde{\ }}}$}\hspace*{0.1mm}}
