/[escript]/trunk/doc/user/user_defs.tex
ViewVC logotype

Annotation of /trunk/doc/user/user_defs.tex

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3308 - (hide annotations)
Tue Oct 26 03:24:54 2010 UTC (9 years ago) by jfenwick
Original Path: trunk/doc/user/guide_defs.tex
File MIME type: application/x-tex
File size: 11190 byte(s)
Moved listing and class up a level.
Removed hackscore from cookbook.
Made cookbook use the new stuff - removed old stuff
1 ksteube 1811
2     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 ksteube 1316 %
4 jfenwick 2881 % Copyright (c) 2003-2010 by University of Queensland
5 ksteube 1811 % Earth Systems Science Computational Center (ESSCC)
6     % http://www.uq.edu.au/esscc
7 gross 625 %
8 ksteube 1811 % Primary Business: Queensland, Australia
9     % Licensed under the Open Software License version 3.0
10     % http://www.opensource.org/licenses/osl-3.0.php
11 gross 625 %
12 ksteube 1811 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13 jgs 82
14 ksteube 1811
15 lgraham 2128 \usepackage{subfigure}
16 caltinay 3293 \usepackage{makeidx}
17 caltinay 3306 \usepackage{color}
18 jgs 82
19 caltinay 3281 \graphicspath{{figures/}}
20 jgs 82
21 caltinay 3293 % default width for figures
22     \newcommand{\figwidth}{100mm}
23    
24     % commands useful in cross-referencing
25     \newcommand{\Ref}[1]{Reference~\cite{#1}}
26     \newcommand{\Sec}[1]{Section~\ref{#1}}
27     \newcommand{\App}[1]{Appendix~\ref{#1}}
28     \newcommand{\Chap}[1]{Chapter~\ref{#1}}
29     \newcommand{\etal}{\emph{~et~al.}}
30     \newcommand{\fig}[1]{Figure~\ref{#1}}
31     \newcommand{\eqn}[1]{Equation~(\ref{#1})}
32     \newcommand{\tab}[1]{Table~\ref{#1}}
33     \newcommand{\env}[1]{\textbf{\mbox{#1}}\index{Environment!#1}}
34    
35 jgs 82 % define some handy commands for escript stuff
36 gross 565 \newcommand{\LINUX}{{\it Linux}\xspace}
37 gross 2316 \newcommand{\WINDOWS}{{\it MS Windows}\xspace}
38     \newcommand{\PYTHON}{{\it python}\xspace}
39 jfenwick 2331 \newcommand{\netCDF}{{\it netCDF}\index{netCDF}\xspace}
40 jgs 107 \newcommand{\escript}{\module{esys.escript}\xspace}
41     \newcommand{\finley}{\module{esys.finley}\xspace}
42 gross 999 \newcommand{\esys}{\module{esys}\xspace}
43 gross 565 \newcommand{\pyvisi}{\module{esys.pyvisi}\xspace}
44 gross 993 \newcommand{\pycad}{\module{esys.pycad}\xspace}
45 gross 999 \newcommand{\gmsh}{\module{esys.pycad.gmsh}\xspace}
46 caltinay 3293 \newcommand{\gmshextern}{{\it Gmsh}\cite{GMSH}\index{Gmsh}\xspace}
47     \newcommand{\SCIPY}{{\it SciPy}\cite{SCIPY}\index{SciPy}\xspace}
48 jfenwick 2923 \newcommand{\MPI}{{\it MPI}\index{Message Passing Interface!MPI}\xspace}
49 jfenwick 2331 \newcommand{\OPENMP}{{\it OpenMP}\xspace\index{OpenMP!threading}\xspace}
50 gross 565 \newcommand{\linearPDEs}{\module{esys.escript.linearPDEs}\xspace}
51 jgs 102 \newcommand{\LinearPDE}{\class{LinearPDE}\xspace}
52 jgs 121 \newcommand{\modelframe}{\module{esys.modelframe}\xspace}
53 gross 2864 \newcommand{\pdetools}{\module{esys.escript.pdetools}\xspace}
54 caltinay 3293 \newcommand{\False}{\constant{False}\xspace}
55     \newcommand{\True}{\constant{True}\xspace}
56     \newcommand{\warning}[1]{\emph{Warning: #1}}
57 gross 565
58 gross 2474 \newcommand{\SolverOptions}{\class{SolverOptions}\xspace}
59 jgs 102 \newcommand{\Poisson}{\class{Poisson}\xspace}
60 gross 568 \newcommand{\Helmholtz}{\class{Helmholtz}\xspace}
61 gross 653 \newcommand{\Lame}{\class{Lame}\xspace}
62 jgs 82 \newcommand{\Data}{\class{Data}\xspace}
63 jfenwick 1955 \newcommand{\EmptyData}{empty \class{Data}\index{empty Data}\xspace}
64 jgs 102 \newcommand{\Domain}{\class{Domain}\xspace}
65 caltinay 3293 \newcommand{\gnuplot}{{\it gnuplot}\cite{GNUPLOT}\index{visualization!gnuplot}\index{gnuplot}}
66 jgs 102 \newcommand{\finleyelement}[1]{{\it #1}\index{finley!#1}}
67 gross 2573 \newcommand{\PCG}{\member{SolverOptions.PCG}\xspace\index{linear solver!PCG}\index{PCG}}
68     \newcommand{\BiCGStab}{\member{SolverOptions.BICGSTAB}\xspace\index{linear solver!BiCGStab}\index{BiCGStab}}
69     \newcommand{\Direct}{\member{SolverOptions.DIRECT}\xspace\index{linear solver!Direct}\index{Direct solver}}
70     \newcommand{\GMRES}{\member{SolverOptions.GMRES}\xspace\index{linear solver!GMRES}\index{GMRES}}
71     \newcommand{\PRESTWENTY}{\member{SolverOptions.PRES20}\xspace\index{linear solver!PRES20}\index{PRES20}}
72     \newcommand{\JACOBI}{\member{SolverOptions.JACOBI}\xspace\index{preconditioner!Jacobi}\index{Jacobi}}
73     \newcommand{\ILU}{\member{SolverOptions.ILU0}\xspace\index{preconditioner!ILU0}\index{ILU0}}
74     \newcommand{\ILUT}{\member{SolverOptions.ILUT}\xspace\index{preconditioner!ILUT}\index{ILUT}}
75     \newcommand{\RILU}{\member{SolverOptions.RILU}\xspace\index{preconditioner!RILU}\index{RILU}}
76     \newcommand{\LUMPING}{\member{SolverOptions.LUMPING}\xspace\index{linear solver!lumping}\index{lumping}}
77 jfenwick 3295 \newcommand{\NOREORDERING}{\member{SolverOptions.NO_REORDERING}\xspace}
78     \newcommand{\MINIMUMFILLIN}{\member{SolverOptions.MINIMUM_FILL_IN\xspace}
79 gross 2573 \index{linear solver!minimum fill-in ordering}\index{minimum fill-in ordering}}
80 jfenwick 3295 \newcommand{\NESTEDDESCTION}{\member{SolverOptions.NESTED_DISSECTION}\xspace\index{linear solver!nested dissection ordering}\index{nested dissection}}
81 gross 2573 \newcommand{\AMG}{\member{SolverOptions.AMG}\xspace\index{linear solver!AMG}\index{algebraic Multi-grid}\index{AMG}}
82 jfenwick 3295 \newcommand{\GAUSSSEIDEL}{\member{SolverOptions.GAUSS_SEIDEL}\xspace\index{linear solver!Gauss-Seidel}\index{preconditioner!Gauss-Seidel}\index{Gauss-Seidel Scheme}}
83     \newcommand{\LOCALGAUSSSEIDEL}{\member{SolverOptions.LOCAL_GAUSS_SEIDEL}\xspace\index{linear solver!Gauss-Seidel}\index{preconditioner!Gauss-Seidel}\index{Gauss-Seidel Scheme}}
84 gross 2558 \newcommand{\MKL}{\texttt{MKL}\xspace\index{packages!MKL}\index{MKL}}
85     \newcommand{\UMFPACK}{\texttt{UMFPACK}\xspace\index{packages!UMFPACK}\index{UMFPACK}}
86     \newcommand{\PASO}{\texttt{PASO}\xspace\index{packages!PASO}\index{PASO}}
87 jgs 82
88 jgs 102 \newcommand{\FunctionSpace}{\class{FunctionSpace}\xspace}
89     \newcommand{\Operator}{\class{Operator}\xspace}
90     \newcommand{\SolutionFS}{solution \class{FunctionSpace}\index{solution}\xspace}
91     \newcommand{\ReducedSolutionFS}{reduced solution \class{FunctionSpace}\index{solution!reduced}\xspace}
92     \newcommand{\FunctionOnBoundary}{boundary \class{FunctionSpace}\xspace}
93     \newcommand{\Function}{general \class{FunctionSpace}\xspace}
94     \newcommand{\FunctionOnContactZero}{contact \class{FunctionSpace} on side 0\xspace}
95     \newcommand{\FunctionOnContactOne}{contact \class{FunctionSpace} on side 1\xspace}
96     \newcommand{\ContinuousFunction}{continuous \class{FunctionSpace}\xspace}
97 gross 565 \newcommand{\RankOne}{{rank-1 \Data object}\xspace}
98 jgs 102 \newcommand{\RankTwo}{{rank-2 \Data object}\xspace}
99     \newcommand{\RankThree}{{rank-3 \Data object}\xspace}
100     \newcommand{\RankFour}{{rank-4 \Data object}\xspace}
101 gross 660 \newcommand{\Tensor}{{tensor \Data object}\xspace}
102     \newcommand{\Vector}{{vector \Data object}\xspace}
103 jgs 102 \newcommand{\Scalar}{{scalar \Data object}\xspace}
104 jfenwick 1955 \newcommand{\DataSample}{{data sample}\index{data sample}\xspace}
105     \newcommand{\DataSamplePoints}{{data sample points}\index{data sample!points}\xspace}
106 jfenwick 2463 \newcommand{\numpy}{\module{numpy}\xspace}
107     \newcommand{\numpyNDA}{\module{numpy.\class{ndarray}\xspace}}
108    
109 jgs 102 \newcommand{\Shape}{shape\xspace\index{shape}}
110 gross 565 \newcommand{\Rank}{rank\xspace\index{shape}}
111 jgs 102 \newcommand{\ExampleDirectory}{example directory\xspace}
112 gross 2446 \newcommand{\ReferenceGuide}{\url{http://esys.esscc.uq.edu.au/docs.html}\xspace}
113 caltinay 3293 \newcommand{\Point}{\class{Point}\xspace}
114     \newcommand{\PropertySet}{\class{PropertySet}\xspace}
115     \newcommand{\Design}{\class{Design}\xspace}
116     \newcommand{\TagMap}{\class{TagMap}\xspace}
117     \newcommand{\ManifoldOneD}{\class{Manifold1D}\xspace}
118     \newcommand{\ManifoldTwoD}{\class{Manifold2D}\xspace}
119     \newcommand{\ManifoldThreeD}{\class{Manifold3D}\xspace}
120 jgs 102
121 caltinay 3278 % handy commands related to visualization
122 gross 2574 \newcommand{\VTK}{{\it VTK}\index{visualization!VTK}\index{VTK}\xspace}
123 caltinay 3278 \newcommand{\SILO}{{\it SILO}\index{visualization!SILO}\index{SILO}\xspace}
124 gross 2574 \newcommand{\MATPLOTLIB}{\module{matplotlib}\index{visualization!matplotlib}\index{matplotlib}\xspace}
125     \newcommand{\VTKUrl}{\url{http://www.vtk.org/}\index{visualization!VTK}\index{VTK}\xspace}
126     \newcommand{\VisIt}{{\it VisIt}\index{visualization!VisIt}\index{VisIt}\xspace}
127     \newcommand{\mayavi}{{\it mayavi}\index{visualization!mayavi}\index{mayavi}\xspace}
128 caltinay 3293 \newcommand{\OpenDX}{{\it OpenDX}\index{visualization!OpenDX}\index{OpenDX}\cite{OPENDX}\xspace}
129 gross 2574
130 caltinay 3293 % deprecated pyvisi commands
131 jongui 879 \newcommand{\Scene}{\class{Scene}\xspace}
132     \newcommand{\Camera}{\class{Camera}\xspace}
133 jongui 886 \newcommand{\Light}{\class{Light}\xspace}
134 jongui 1035 \newcommand{\DataCollector}{\class{DataCollector}\xspace}
135     \newcommand{\ImageReader}{\class{ImageReader}\xspace}
136     \newcommand{\TextTwoD}{\class{Text2D}\xspace}
137     \newcommand{\ActorTwoD}{\class{Actor2D}\xspace}
138     \newcommand{\ActorThreeD}{\class{Actor3D}\xspace}
139     \newcommand{\Transform}{\class{Transform}\xspace}
140     \newcommand{\Clipper}{\class{Clipper}\xspace}
141 jongui 879 \newcommand{\Map}{\class{Map}\xspace}
142 jongui 1035 \newcommand{\MapOnPlaneCut}{\class{MapOnPlaneCut}\xspace}
143     \newcommand{\MapOnPlaneClip}{\class{MapOnPlaneClip}\xspace}
144 jongui 886 \newcommand{\MapOnScalarClip}{\class{MapOnScalarClip}\xspace}
145 jongui 1211 \newcommand{\MapOnScalarClipWithRotation}{\class{MapOnScalarClipWithRotation}\xspace}
146 jongui 1035 \newcommand{\GlyphThreeD}{\class{Glyph3D}\xspace}
147 jongui 1078 \newcommand{\MaskPoints}{\class{MaskPoints}\xspace}
148 jongui 1035 \newcommand{\Velocity}{\class{Velocity}\xspace}
149     \newcommand{\VelocityOnPlaneCut}{\class{VelocityOnPlaneCut}\xspace}
150     \newcommand{\VelocityOnPlaneClip}{\class{VelocityOnPlaneClip}\xspace}
151     \newcommand{\Sphere}{\class{Sphere}\xspace}
152     \newcommand{\TensorGlyph}{\class{TensorGlyph}\xspace}
153     \newcommand{\Ellipsoid}{\class{Ellipsoid}\xspace}
154     \newcommand{\EllipsoidOnPlaneCut}{\class{EllipsoidOnPlaneCut}\xspace}
155     \newcommand{\EllipsoidOnPlaneClip}{\class{EllipsoidOnPlaneClip}\xspace}
156     \newcommand{\ContourModule}{\class{ContourModule}\xspace}
157 jongui 879 \newcommand{\Contour}{\class{Contour}\xspace}
158 jongui 1035 \newcommand{\ContourOnPlaneCut}{\class{ContourOnPlaneCut}\xspace}
159     \newcommand{\ContourOnPlaneClip}{\class{ContourOnPlaneClip}\xspace}
160     \newcommand{\PointSource}{\class{PointSource}\xspace}
161     \newcommand{\StreamLineModule}{\class{StreamLineModule}\xspace}
162     \newcommand{\Tube}{\class{Tube}\xspace}
163     \newcommand{\StreamLine}{\class{StreamLine}\xspace}
164     \newcommand{\Warp}{\class{Warp}\xspace}
165 jongui 879 \newcommand{\Carpet}{\class{Carpet}\xspace}
166 jongui 1035 \newcommand{\PlaneSource}{\class{PlaneSource}\xspace}
167     \newcommand{\Image}{\class{Image}\xspace}
168 jongui 1112 \newcommand{\Logo}{\class{Logo}\xspace}
169     \newcommand{\ImageReslice}{\class{ImageReslice}\xspace}
170 jongui 879 \newcommand{\Position}{\class{Position}\xspace}
171 jongui 1194 \newcommand{\DataSetMapper}{\class{DataSetMapper}\xspace}
172     \newcommand{\Legend}{\class{Legend}\xspace}
173     \newcommand{\ScalarBar}{\class{ScalarBar}\xspace}
174     \newcommand{\Movie}{\class{Movie}\xspace}
175 jongui 1205 \newcommand{\CubeSource}{\class{CubeSource}\xspace}
176     \newcommand{\Rectangle}{\class{Rectangle}\xspace}
177     \newcommand{\LocalPosition}{\class{LocalPosition}\xspace}
178     \newcommand{\GlobalPosition}{\class{GlobalPosition}\xspace}
179 jongui 1211 \newcommand{\Rotation}{\class{Rotation}\xspace}
180 jongui 1081 \newcommand{\thumbnailwidth}{50mm}
181 caltinay 3293 % end of pyvisi commands
182 jgs 102
183     % this stops one figure taking up a whole page and lets more text onto
184     % the one page when a figure exists
185 caltinay 3293 \renewcommand{\floatpagefraction}{0.8} % Default = 0.5
186 jgs 102
187 jgs 82 % improved version of caption handling
188     \usepackage{ccaption}
189     \captionnamefont{\scshape}
190     \captionstyle{}
191     \makeatletter
192     \renewcommand{\fnum@figure}[1]{\quad\small\textsc{\figurename~\thefigure}:}
193     \renewcommand{\@makecaption}[2]{%
194     \vskip\abovecaptionskip
195     \sbox\@tempboxa{#1: #2}%
196     \ifdim \wd\@tempboxa >\hsize
197     \def\baselinestretch{1}\@normalsize
198     #1: #2\par
199     \def\baselinestretch{1.5}\@normalsize
200     \else
201     \global \@minipagefalse
202     \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
203     \fi
204     \vskip\belowcaptionskip}
205     \makeatother
206    
207     % this is for when one uses pdflatex and therefore needs to load pdf
208     % figures into \includegraphics
209     \ifpdf
210 caltinay 3291 \DeclareGraphicsExtensions{.pdf,.png} % this command defined in graphicx
211 jgs 82 \pdfcompresslevel=9 % 0: no compression, 9: highest compression
212     % or, set compress_level 9 in file pdftex.cfg
213     \else
214     \DeclareGraphicsExtensions{.eps}
215     \fi
216 jgs 102
217 jfenwick 3308 \include{elist}
218 jgs 102
219 jfenwick 2335
220    
221 jfenwick 2338 %Ensures that latex doesn't have an error if we don't specify the version
222     \providecommand{\RepVersion}{Unknown\xspace}
223     % to set this value use:
224     % (pdf)latex '\newcommand{\RepVersion}{version\xspace}\input{guide.tex}'
225 gross 2372 % as your command-line

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26