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

Contents of /trunk/doc/user/changes.tex

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3368 - (show annotations)
Fri Nov 19 05:59:46 2010 UTC (8 years, 9 months ago) by jfenwick
File MIME type: application/x-tex
File size: 6553 byte(s)
3d interpolateTable support.
New more generic interface for table interpolation.
tests and doco updated
1
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %
4 % Copyright (c) 2009-2010 by University of Queensland
5 % Earth Systems Science Computational Center (ESSCC)
6 % http://www.uq.edu.au/esscc
7 %
8 % 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 %
12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13
14 \section{Changes from previous releases}
15 \label{app:changes}
16
17 \subsection*{3.1 to 3.2}
18 \begin{itemize}
19 \item The deprecated name for the launcher has been removed. To run scripts use
20 \emph{run-escript} not \emph{escript}.
21 \item \escript is no longer automatically imported by importing \finley.
22 You will need to import escript explicitly. (All of our example scripts do this anyway.)
23 \item An experimental version of the new Dudley domain is now available.
24 \item Various bug fixes and optimisations.
25 \item New algorithms for gmsh support.
26 \item Improvements to the AMG solver. AMG is the recommended solver for symmetric problems.
27 \item Fixed compilation issues using netcdf.
28 \item Redesigned configuration files to make it easier to compile from source
29 without finding the locations of all your libraries.
30 \item Faster rendering of documentation.
31 \item Documentation is now hyperlinked.
32 \item New data export module \weipa. The \texttt{saveVTK} functionality has
33 been moved into this module, and while calling \texttt{saveVTK} from the
34 \escript module still works it is discouraged and will be removed in a
35 future release.
36 \item New \texttt{esys.escript.DataManager} class for convenient checkpointing
37 and exporting of escript data.
38 \item \VisIt simulation interface for online data access and visualization.
39 \item Simpler interpolation and support for interpolation from 3D vectors.
40 \end{itemize}
41
42 \subsection*{3.0 to 3.1}
43 \begin{itemize}
44 \item The \emph{escript} launcher has been renamed to \emph{run-escript}. The
45 old name will still work in this version but will be removed in the future.
46 \item Lazy evaluation features have been improved and documented (see \Sec{sec:lazy}).
47 \item The \emph{escript} documentation now includes a new Cookbook which
48 demonstrates how to solve sample problems using escript.
49 \item Macro elements have been introduced.
50 \item The \var{saveDataCSV} method allows one or more \Data objects to be
51 exported in CSV format (see \Sec{sec:savedatacsv}).
52 \item \Data objects can be populated by interpolating from values in a table.
53 \item The new \var{getInfLocator} and \var{getSupLocator} functions in
54 \pdetools return Locators to a minimal/maximal point over the
55 data.
56 \item There is a new class to model fault systems (\var{esys.escript.faultsystems.FaultSystem}).
57 \item A beta version of an Algebraic Multigrid (AMG) solver is included.
58 \item Inverting square matrices larger than 3x3 is now permitted if escript is
59 compiled with Lapack support.
60 \item If escript is compiled with a modern compiler, then inf/sup/Lsup will now
61 report NaN, +/-inf as appropriate if those values appear in the data.
62 \item Data.setTags will take tag names as well as tag numbers.
63 \item The Scalar, Vector, Tensor, Tensor3, Tensor4 factory methods can now take
64 arrays/nested sequence like objects as their initial values.
65 \item escript.util.mkDir can now take a list of directories to create.
66 \item Behind the scenes, \PYTHON docstrings have been rewritten from epydoc to
67 restructured text.
68 \item Various other bug fixes and performance tweaks.
69 \end{itemize}
70
71 \subsection*{2.0 to 3.0}
72 \begin{itemize}
73 \item The major change here was replacing \module{numarray} with \numpy.
74 For general instructions on converting scripts to use numpy see \url{http://www.stsci.edu/resources/software_hardware/numarray/numarray2numpy.pdf}.
75 The specific changes to \escript are:
76 \begin{itemize}
77 \item getValueOfDataPoint() which returned a \module{numarray}.array has been
78 replaced by getTupleForDataPoint() which returns a \PYTHON tuple
79 containing the components of the data point. In the case of matrices or
80 higher ranked data, the tuples will be nested.
81 Use \numpy.array(data.getTupleForDataPoint()) if a \numpyNDA object is
82 required.
83 \item getValueOfGlobalDataPoint() has similarly been replaced by
84 getTupleForGlobalDataPoint().
85 \item \code{integrate(data)} now returns a \numpyNDA instead of a
86 \module{numarray}.array.
87 \end{itemize}
88 Any python methods which previously accepted \module{numarray} objects now
89 accept \numpy objects instead.
90
91 \item The way to define solver options for \LinearPDE objects has changed.
92 There is now a \SolverOptions object attached to the \LinearPDE
93 object which handles the options of solvers used to solve the PDE.
94 The following changes apply:
95 \begin{itemize}
96 \item The \method{setTolerance} and \method{setAbsoluteTolerance} methods
97 have been removed. Instead use \method{setTolerance} and
98 \method{setAbsoluteTolerance} on the \SolverOptions object. For example:
99 \method{getSolverOptions().setTolerance(\ldots)}
100 \item The \method{setSolverPackage} and \method{setSolverMethod} methods have
101 been removed. Instead use the methods \method{setPackage},
102 \method{setSolverMethod} and \method{setPreconditioner}. For example:
103 getSolverOptions().setPackage(\ldots).
104 \item The static class variables defining packages, solvers and
105 preconditioners have been removed and are now accessed via the
106 corresponding static class variables in \SolverOptions.
107 For instance use \method{SolverOptions.PCG} instead of
108 \method{LinearPDE.PCG} to select the preconditioned conjugate gradient
109 method.
110 \item The \method{getSolution} now takes no argument. Use the corresponding
111 methods of the \SolverOptions object returned by
112 \method{getSolverOptions()} to set values,\\ e.g. use
113 \method{getSolverOptions().setVerbosityOn()} instead of argument
114 \code{verbose=True} and \method{getSolverOptions().setIterMax(1000)}
115 instead of argument \code{iter_max=1000}.
116 \end{itemize}
117
118 \item The \pyvisi module from previous releases has been deprecated and will no
119 longer be supported. It is still present in the source code and can be used
120 if you compile \escript from source. It will not be available in binary
121 releases and its use is discouraged.
122 \emph{The documentation for \pyvisi is not available in this release.}
123 % The documentation for \pyvisi can be found in Appendix~\ref{PYVISI CHAP}.
124 \end{itemize}
125

  ViewVC Help
Powered by ViewVC 1.1.26