1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/changes/232.html" />
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Documentation: Changes: 2.3.2</title>
</head>
<body bgcolor="#ffffff">
<div id="version" align=right><b>petsc-3.4.2 2013-07-02</b></div>
<h1>Documentation: Changes: 2.3.2</h1>
<style type="text/css">
h2 {
color: red;
}
h4 {
font-weight: bold;
text-decoration: underline;
}
</style>
<div id="main">
<div align="center">
<h2><a name="CHANGES">CHANGES in PETSc 2.3.2</a></h2>
</div>
<h4>General:</h4>
<ul>
<li>
We have a new Semi-Lagrangian advection solver using the method of
characteristics to the <tt>src/contrib/semiLagrange</tt>, contributed
by <a href="mailto:katz@ldeo.columbia.edu">Richard Katz</a> and <a
href="mailto:mspieg@ldeo.columbia.edu">Marc Spiegelman</a> of
Columbia University. Examples are included.
</li>
<li>Added C99 complex support. [check configure changes below]</li>
</ul>
<h4>Vec:</h4>
<h4>Mat:</h4>
<ul>
<li>Added MatCreateScatter() and MATSCATTER to easily construct efficient "restriction operators"</li>
<li>Removed MatConvertRegister() and friends, added (*convertfrom) to Mat function table to replace it</li>
</ul>
<h4>PC:</h4>
<ul>
<li>
Added PCGALERKIN and PCGalerkinSetRestriction/Interpolation() to
allow easy creating of Galerkin-like preconditioners.
</li>
<li> Added PCGetOperatorsSet()</li>
<li>
Added support for the KSP/PC to auto-create the Mat(s) for you.
(Which you usally set with KSP/PCSetOperators()). See manual page for
KSP/PCGetOperators(). Note this is slightly speculative code
currently.
</li>
<li>
PCSetOperators()/KSPSetOperators() now do reference counting on the
operators you pass in. Current usage will work, however this means
you NO LONGER need to keep a reference to the operators around until
the KSP/PC object is destroyed.
</li>
</ul>
<h4>KSP:</h4>
<ul>
<li>
Added KSPDefaultConvergedSetUIRNorm() and
-ksp_default_converged_initial_residual_norm to go back to the pre
PETSc 2.3.1 of determing relative tolerance for convergence.
</li>
<li>Added KSPGetOperatorsSet()</li>
</ul>
<h4>config/configure.py:</h4>
<ul>
<li>
Now c++ complex version requires the options'
'--with-scalar-type=complex --with-clanguage=cxx'. Specyfing only
'--with-scalar-type=complex' will default to '--with-clanguage=c' i.e
uses C99 complex support.
</li>
</ul>
<h4>SNES:</h4>
<ul>
<li>
The convergence test functions for SNES now pass the current
iteration in as the second argument. Also the convergence test
routine is called after the initial function evaluation in SNES but
before the first Newton step is computed.
</li>
<li>Added SNESSetKSP().</li>
</ul>
<h4>TS:</h4>
<h4>DA:</h4>
<h4>DMMG:</h4>
<h4>SYS:</h4>
<ul>
<li>Removed PetscRandomType from the prototype of PetscRandomCreate().</li>
<li>Added PetscRandomSetType(), PetscRandomGetValueReal() and PetscRandomGetValueImaginary().</li>
<li>
Replaced RANDOM_DEFAULT, RANDOM_DEFAULT_REAL and
RANDOM_DEFAULT_IMAGINARY, the type of random numbers, with
PETSCRAND48, PETSCRAND etc.
</li>
</ul>
<h4>AO:</h4>
<ul>
<li>AODATA object and associated routines are now depricated and scheduled for future removal</li>
</ul>
<h4>Fortran:</h4>
<h4><a href="http://www.mcs.anl.gov/petsc/miscellaneous/external.html">ExternalPackages</a>:</h4>
<ul>
<li>SPRNG support added.</li>
</ul>
</div>
</body>
</html>
|