/[escript]/branches/stage3.1/doc/user/guide_defs.tex
ViewVC logotype

Diff of /branches/stage3.1/doc/user/guide_defs.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2128 by lgraham, Thu Dec 4 03:48:22 2008 UTC revision 2335 by jfenwick, Thu Mar 26 04:33:44 2009 UTC
# Line 26  Line 26 
26    
27  % define some handy commands for escript stuff  % define some handy commands for escript stuff
28  \newcommand{\LINUX}{{\it Linux}\xspace}  \newcommand{\LINUX}{{\it Linux}\xspace}
29  \newcommand{\netCDF}{{\it netCDF}\cite{NETCDF}\index{netCDF} \xspace}  \newcommand{\WINDOWS}{{\it MS Windows}\xspace}
30    \newcommand{\PYTHON}{{\it python}\xspace}
31    % \newcommand{\netCDF}{{\it netCDF}\cite{NETCDF}\index{netCDF} \xspace}
32    \newcommand{\netCDF}{{\it netCDF}\index{netCDF}\xspace}
33  \newcommand{\escript}{\module{esys.escript}\xspace}  \newcommand{\escript}{\module{esys.escript}\xspace}
34  \newcommand{\finley}{\module{esys.finley}\xspace}  \newcommand{\finley}{\module{esys.finley}\xspace}
35  \newcommand{\esys}{\module{esys}\xspace}  \newcommand{\esys}{\module{esys}\xspace}
# Line 34  Line 37 
37  \newcommand{\pycad}{\module{esys.pycad}\xspace}  \newcommand{\pycad}{\module{esys.pycad}\xspace}
38  \newcommand{\gmsh}{\module{esys.pycad.gmsh}\xspace}  \newcommand{\gmsh}{\module{esys.pycad.gmsh}\xspace}
39  \newcommand{\gmshextern}{{\it Gmsh}\cite{GMSH}\index{Gmsh} \xspace}  \newcommand{\gmshextern}{{\it Gmsh}\cite{GMSH}\index{Gmsh} \xspace}
40    \newcommand{\env}[1]{\textbf{\mbox{#1}}\index{Environment!#1}}
41    % \newcommand{\MPI}{{\it MPI}\xspace\index{Message Passing Interface!MPI}\cite{MPI}\xspace}
42    % \newcommand{\OPENMP}{{\it OpenMP}\xspace\index{OpenMP!threading}\cite{OPENMP}\xspace}
43    \newcommand{\MPI}{{\it MPI}\xspace\index{Message Passing Interface!MPI}\xspace}
44    \newcommand{\OPENMP}{{\it OpenMP}\xspace\index{OpenMP!threading}\xspace}
45  \newcommand{\linearPDEs}{\module{esys.escript.linearPDEs}\xspace}  \newcommand{\linearPDEs}{\module{esys.escript.linearPDEs}\xspace}
46  \newcommand{\LinearPDE}{\class{LinearPDE}\xspace}  \newcommand{\LinearPDE}{\class{LinearPDE}\xspace}
47  \newcommand{\timeseries}{\module{esys.timeseries}\xspace}  \newcommand{\timeseries}{\module{esys.timeseries}\xspace}
48  \newcommand{\modelframe}{\module{esys.modelframe}\xspace}  \newcommand{\modelframe}{\module{esys.modelframe}\xspace}
49  \newcommand{\pdetools}{\module{esys.pdetools}\xspace}  \newcommand{\pdetools}{\module{esys.pdetools}\xspace}
50    \newcommand{\esysxml}{{\it esysxml}}
51    
52  \newcommand{\AdvectivePDE}{\class{AdvectivePDE}\xspace}  \newcommand{\AdvectivePDE}{\class{AdvectivePDE}\xspace}
53  \newcommand{\Poisson}{\class{Poisson}\xspace}  \newcommand{\Poisson}{\class{Poisson}\xspace}
# Line 227  Line 234 
234  % add the listings package to pretty print the code output  % add the listings package to pretty print the code output
235  \usepackage{listings}  \usepackage{listings}
236    
237    
238    %Some colour definitions added to keep pdflatex happy
239    %I make no claim that these values are particularly good
240    \definecolor{Purple}{rgb}{0.7, 0, 0.6}
241    \definecolor{Tan}{rgb}{0.5,0.5,0.5}
242    \definecolor{BrickRed}{rgb}{0.7, 0.2, 0.2}
243    
244    % All the \color{x} used to be \color[named]{x}
245    %end color defs
246    
247  \lstdefinestyle{myC++}{%  \lstdefinestyle{myC++}{%
248  %\lstset{%  %\lstset{%
249  language=C++,  language=C++,
250  showstringspaces=false,  showstringspaces=false,
251  basicstyle=\small\ttfamily,  basicstyle=\small\ttfamily,
252  commentstyle=\color[named]{BrickRed}\ttfamily,  commentstyle=\color{BrickRed}\ttfamily,
253  keywordstyle=\color[named]{Purple}\ttfamily,  keywordstyle=\color{Purple}\ttfamily,
254  %identifierstyle=\color[named]{Blue}\ttfamily,  %identifierstyle=\color{Blue}\ttfamily,
255  %functionstyle=\color[named]{Blue}\ttfamily,  %functionstyle=\color{Blue}\ttfamily,
256  %typestyle=\color[named]{ForestGreen}\ttfamily,  %typestyle=\color{ForestGreen}\ttfamily,
257  stringstyle=\color[named]{Tan}\ttfamily,%  stringstyle=\color{Tan}\ttfamily,%
258  morekeywords={,complex,}%  morekeywords={,complex,}%
259  frame=none,%  frame=none,%
260  backgroundcolor=\color{LightGrey}%  backgroundcolor=\color{LightGrey}%
# Line 248  backgroundcolor=\color{LightGrey}% Line 265  backgroundcolor=\color{LightGrey}%
265  language=Matlab,  language=Matlab,
266  showstringspaces=false,  showstringspaces=false,
267  basicstyle=\small\ttfamily,  basicstyle=\small\ttfamily,
268  commentstyle=\color[named]{BrickRed}\ttfamily,  commentstyle=\color{BrickRed}\ttfamily,
269  keywordstyle=\color[named]{Purple}\ttfamily,  keywordstyle=\color{Purple}\ttfamily,
270  %identifierstyle=\color[named]{Blue}\ttfamily,  %identifierstyle=\color{Blue}\ttfamily,
271  %functionstyle=\color[named]{Blue}\ttfamily,  %functionstyle=\color{Blue}\ttfamily,
272  %typestyle=\color[named]{ForestGreen}\ttfamily,  %typestyle=\color{ForestGreen}\ttfamily,
273  stringstyle=\color[named]{Tan}\ttfamily,%  stringstyle=\color{Tan}\ttfamily,%
274  frame=none,%  frame=none,%
275  backgroundcolor=\color{LightGrey}%  backgroundcolor=\color{LightGrey}%
276  }  }
# Line 263  backgroundcolor=\color{LightGrey}% Line 280  backgroundcolor=\color{LightGrey}%
280  language=Scilab,  language=Scilab,
281  showstringspaces=false,  showstringspaces=false,
282  basicstyle=\small\ttfamily,  basicstyle=\small\ttfamily,
283  commentstyle=\color[named]{BrickRed}\ttfamily,  commentstyle=\color{BrickRed}\ttfamily,
284  keywordstyle=\color[named]{Purple}\ttfamily,  keywordstyle=\color{Purple}\ttfamily,
285  %identifierstyle=\color[named]{Blue}\ttfamily,  %identifierstyle=\color{Blue}\ttfamily,
286  %functionstyle=\color[named]{Blue}\ttfamily,  %functionstyle=\color{Blue}\ttfamily,
287  %typestyle=\color[named]{ForestGreen}\ttfamily,  %typestyle=\color{ForestGreen}\ttfamily,
288  stringstyle=\color[named]{Tan}\ttfamily,%  stringstyle=\color{Tan}\ttfamily,%
289  frame=none,%  frame=none,%
290  backgroundcolor=\color{LightGrey}%  backgroundcolor=\color{LightGrey}%
291  }  }
# Line 278  backgroundcolor=\color{LightGrey}% Line 295  backgroundcolor=\color{LightGrey}%
295  language=ksh,  language=ksh,
296  showstringspaces=false,  showstringspaces=false,
297  basicstyle=\small\ttfamily,  basicstyle=\small\ttfamily,
298  commentstyle=\color[named]{Black}\ttfamily,  commentstyle=\color{Black}\ttfamily,
299  keywordstyle=\color[named]{Black}\ttfamily,  keywordstyle=\color{Black}\ttfamily,
300  %identifierstyle=\color[named]{Blue}\ttfamily,  %identifierstyle=\color{Blue}\ttfamily,
301  %functionstyle=\color[named]{Blue}\ttfamily,  %functionstyle=\color{Blue}\ttfamily,
302  %typestyle=\color[named]{ForestGreen}\ttfamily,  %typestyle=\color{ForestGreen}\ttfamily,
303  stringstyle=\color[named]{Black}\ttfamily,%  stringstyle=\color{Black}\ttfamily,%
304  frame=none,%  frame=none,%
305  backgroundcolor=\color{LightGrey}%  backgroundcolor=\color{LightGrey}%
306  }  }
# Line 293  backgroundcolor=\color{LightGrey}% Line 310  backgroundcolor=\color{LightGrey}%
310  language=python,  language=python,
311  showstringspaces=false,  showstringspaces=false,
312  basicstyle=\small\ttfamily,  basicstyle=\small\ttfamily,
313  commentstyle=\color[named]{BrickRed}\ttfamily,  commentstyle=\color{BrickRed}\ttfamily,
314  keywordstyle=\color[named]{Purple}\ttfamily,  keywordstyle=\color{Purple}\ttfamily,
315  %identifierstyle=\color[named]{Blue}\ttfamily,  %identifierstyle=\color{Blue}\ttfamily,
316  %functionstyle=\color[named]{Blue}\ttfamily,  %functionstyle=\color{Blue}\ttfamily,
317  %typestyle=\color[named]{ForestGreen}\ttfamily,  %typestyle=\color{ForestGreen}\ttfamily,
318  stringstyle=\color[named]{Tan}\ttfamily,%  stringstyle=\color{Tan}\ttfamily,%
319  frame=none,%  frame=none,%
320  %backgroundcolor=\color{LightGrey}%  %backgroundcolor=\color{LightGrey}%
321  }  }
# Line 308  frame=none,% Line 325  frame=none,%
325  language=xml,  language=xml,
326  showstringspaces=false,  showstringspaces=false,
327  basicstyle=\small\ttfamily,  basicstyle=\small\ttfamily,
328  commentstyle=\color[named]{BrickRed}\ttfamily,  commentstyle=\color{BrickRed}\ttfamily,
329  keywordstyle=\color[named]{Purple}\ttfamily,  keywordstyle=\color{Purple}\ttfamily,
330  %identifierstyle=\color[named]{Blue}\ttfamily,  %identifierstyle=\color{Blue}\ttfamily,
331  %functionstyle=\color[named]{Blue}\ttfamily,  %functionstyle=\color{Blue}\ttfamily,
332  %typestyle=\color[named]{ForestGreen}\ttfamily,  %typestyle=\color{ForestGreen}\ttfamily,
333  stringstyle=\color[named]{Tan}\ttfamily,  stringstyle=\color{Tan}\ttfamily,
334  morekeywords={,simulation,prop_dim,error_check,stochastic,%  morekeywords={,simulation,prop_dim,error_check,stochastic,%
335    globals,field,dimensions,lattice,domains,samples,vector,%    globals,field,dimensions,lattice,domains,samples,vector,%
336    components,fourier_space,sequence,integrate,algorithm,%    components,fourier_space,sequence,integrate,algorithm,%

Legend:
Removed from v.2128  
changed lines
  Added in v.2335

  ViewVC Help
Powered by ViewVC 1.1.26