/[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 3894 - (hide annotations)
Wed Apr 11 03:13:15 2012 UTC (7 years, 9 months ago) by jfenwick
File MIME type: application/x-tex
File size: 11240 byte(s)
Still need to add notes to the install guide about Python3.

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

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision
svn:mergeinfo /branches/lapack2681/doc/user/guide_defs.tex:2682-2741 /branches/pasowrap/doc/user/user_defs.tex:3661-3674 /branches/py3_attempt2/doc/user/user_defs.tex:3871-3891 /branches/restext/doc/user/guide_defs.tex:2610-2624 /branches/ripleygmg_from_3668/doc/user/user_defs.tex:3669-3791 /branches/stage3.0/doc/user/guide_defs.tex:2569-2590 /release/3.0/doc/user/guide_defs.tex:2591-2601

  ViewVC Help
Powered by ViewVC 1.1.26