ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log

Revision 3300 - (show annotations)
Mon Oct 25 00:22:14 2010 UTC (9 years, 8 months ago) by jfenwick
File MIME type: application/x-tex
File size: 4938 byte(s)
Some text fixes

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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14 \section{Changes from previous releases}
15 \label{app:changes}
17 \subsection*{3.0 to 3.1}
18 \begin{itemize}
19 \item{The \emph{escript} launcher has been renamed to \emph{run-escript} the old-name will still work in this version
20 but will be removed in future.}
21 \item Lazy evaluation features have been improved and documented (See Section~\ref{sec:lazy}).
22 \item Escript documentation includes a new Cookbook which demonstrates how to solve sample problems using escript.
23 \item Macro elements have been introduced.
24 \item The saveDataCSV method allows one or more Data objects to be exported in CSV format.
25 \item Data objects can be populated by interpolating from a values in a table.
26 \item The new getInfLocator and getSupLocator functions in esys.escript.pdetools return Locators to a minimal/maximal point over the data.
27 \item There is a new class to model fault systems (esys.escript.faultsystems.FaultSystem).
28 \item A beta version of an Algebraic Multigrid (AMG) solver is included.
29 \item Inverting square matricies larger than 3x3 is now permitted if escript is compiled with Lapack support.
30 \item If escript is compiled with a modern compiler, then inf/sup/Lsup will now report NaN, +/-inf as appropriate if those values appear in the data.
31 \item Data.setTags will take tag names as well as tag numbers.
32 \item The Scalar, Vector, Tensor, Tensor3, Tensor4 factory methods can now take array/nested sequence like objects as their initial values.
33 \item escript.util.mkDir can now take a list of directories to create.
34 \item Behind the scenes, python docstrings have been rewritten from epydoc to restructured text.
35 \item Various other bug fixes and performance tweaks.
36 \end{itemize}
39 \subsection*{2.0 to 3.0}
40 \begin{itemize}
41 \item The major change here was replacing \module{numarray} with \numpy.
42 For general instructions on converting scripts to use numpy see \url{http://www.stsci.edu/resources/software_hardware/numarray/numarray2numpy.pdf}.
43 The specific changes to \escript are:
44 \begin{itemize}
45 \item getValueOfDataPoint() which returned a \module{numarray}.array has been replaced by
46 getTupleForDataPoint() which returns a \PYTHON tuple containing
47 the components of the data point. In the case of matricies or higher ranked data, the tuples will be nested. Use
48 \numpy.array(data.getTupleForDataPoint()) if a \numpyNDA object is required.
49 \item getValueOfGlobalDataPoint has similarly been replaced by getTupleForGlobalDataPoint().
50 \item integrate(data) now returns a \numpyNDA instead of a \module{numarray}.array.
51 \end{itemize}
52 Any python methods which previously accepted \module{numarray} objects will accept \numpy objects instead.
54 \item
55 The way solver options are defined for \LinearPDE objects has been changed. There is now a \SolverOptions object attached to the \LinearPDE object which is handeling the options of solvers used to solve the PDE. The following changes apply:
56 \begin{itemize}
57 \item The \method{setTolerance} and \method{setAbsoluteTolerance} methods have been removed. Instead use
58 \method{setTolerance} and \method{setAbsoluteTolerance} on the \SolverOptions object.
59 For example: \method{getSolverOptions().setTolerance(\ldots)}
62 \item The \method{setSolverPackage} and \method{setSolverMethod} methods have been removed.
63 Instead use the methods \method{setPackage}, \method{setSolverMethod} and \method{setPreconditioner}.
64 For example: getSolverOptions().setPackage(\ldots).
66 \item The static class variables defining packages, solvers and preconditioners have been removed and are now accessed via the corresponding static class variables in \SolverOptions. For instance use \method{SolverOptions.PCG} instead of
67 \method{LinearPDE.PCG} to select the preconditioned conjugate gradient method.
69 \item The \method{getSolution} takes now no argument. Use the corresponding
70 methods of the \SolverOptions object returned by \method{getSolverOptions()}
71 to set values,\\ e.g. use
72 \method{getSolverOptions().setVerbosityOn()} instead of argument \code{verbose=True}
73 and \method{getSolverOptions().setIterMax(1000)} instead of argument \code{iter_max=1000}
74 \end{itemize}
76 \item
77 The \pyvisi module from previous releases has been deprecated and will no longer be supported.
78 It is still present in the source code and can still be used if you compile \escript from source.
79 It will not be available in binary releases.
80 Its use is discouraged.
81 \emph{The documentation for \pyvisi is not available in this release.}
82 % The documentation for \pyvisi can be found in Appendix~\ref{PYVISI CHAP}.
84 \end{itemize}

  ViewVC Help
Powered by ViewVC 1.1.26