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
|
<html>
<body BGCOLOR="FFFFFF">
<h1> Docs: Changes: 2.2.1</h1>
<p align="center"><font color="#ff0000" size="5"><a name="CHANGES">CHANGES</a>
in PETSc 2.2.1 </font></p>
<p><font size="4"><strong><u>General:<br></u></strong></font></p>
<ul> <li> Introduced 4 new PETSc data types: PetscInt, PetscErrorCode, PetscMPIInt and PetscBLASInt. For 99% of users
these are just int or integer*4 and you do <strong>not </strong> need to change your code. </li>
<li>For users with more than roughly 2 billion unknowns you can run configure with --with-64-bit-ints and
then PetscInt will represent 64 bit integers, long long int in C and integer*8 in Fortran. But the
the other 3 types remain 32 bit (i.e. int in C and integer*4 in Fortran). Now you can index into vectors and
matrices with virtually unlimited sizes.
</ul>
<ul>
<p><u><b>Vec:</b></u><br>
<ul> <li> VecSetStashInitialSize() -> VecStashSetInitialSize()</li>
<li>VecConvertMPIToAll() and VecConvertMPIToZero() have been replaced with
VecScatterCreateToAll() and VecScatterCreateToZero()</li></ul>
</p>
<p><u><b>IS:</b></u><br>
<ul> <li> ISSum() now has a throughput argument instead of
one in and one output. </li>
</ul>
</p>
<p><u><b>Mat:</b></u></p>
<ul> <li> MatSetStashInitialSize() -> MatStashSetInitialSize()</li>
<li>added MatFactorInfoInitialize()</li>
<li>added MatStashGetInfo()</li>
<li>added MatGetVecs()</li>
<li>added MatIsSymmetric(), MatIsTranspose() now take a tolerance flag for equality (use 0.0 for identical)</li>
<li>added MatMPIAIJSetPreallocationCSR() and MatMPIBAIJSetPreallocationCSR()</li>
</ul>
<p><u><b>PC:</b></u>
<ul> <li> ICC now uses Manteuffel shift by default</li>
<li> If matrix is symmetric, PC defaults to ICC when possible, if you told with MatSetOption(mat,MAT_SYMMETRIC)</li>
<li> PCSetVector() is gone (no longer needed) </li>
<li> PCNullSpaceAttach() is gone, use KSPSetNullSpace() </li>
<li>MatGetSubmatrices() now preserves symmetric flag of original matrix</li>
<li> hypre BoomerAMG (-pc_type hypre -pc_hypre_type boomeramg) now uses one 1 cycle of multigrid as preconditioner
(Previously it used either a decrease in residual of 10^-7 or a maximum of 20 iterations</li>
</ul>
</b></u></p>
<p><u><b>KSP:</b></u></p>
<ul><li>Note that a relative residual tolerance now means that ||r_k|| < tol*||b||</li> <li> Removed KSPSetRhs() and KSPSetSolution(), pass them through KSPSolve() instead</li>
<li> Added KSPSetNullSpace(), KSPGetNullSpace() </li></ul>
<p><u><b>DA:</b></u></p>
<ul><li>Added DAGetGhostedCoordinates() and DAGetCoordinateDA() (see src/dm/da/examples/tutorials/ex3.c)</li>
<li>Added DACoor2d and DACoor3d (see src/dm/da/examples/tutorials/ex3.c)</li>
<li>DAGetInterpolation() now provides the correct interpolation for nonuniform grids using the coordinate information
provided with DASetCoordinates(). (see src/dm/da/examples/tutorials/ex3.c)</li>
</ul>
<p><u><b>config/configure.py:</b></u></p>
<ul>
<li>--with-c/f-blas-lapack -> --download-c/f-blas-lapack=yes</li>
<li>--with-c/f-blas-lapack-if-needed -> --download-c/f-blas-lapack=ifneeded</li>
<li>added --download-mpich=yes,no,ifneeded</li>
<li>added --download-mpich-device=</li>
<li>added --download-mpich-machines=[machines]</li>
<li>added configure including download support for hypre, parmetis</li>
<li>added configure support (without download) to Mumps, UMF, Superlu,SuperLU_dist,DSCPACK</li>
<li>Made configure much more robust</li>
</ul>
<p><u><b>SNES:</b></u></p>
<ul><li>Added -snes_converged_reason</li>
<li>Added SNESSetRhs(snes,rhs) to allow for solving F(x) = rhs </li></ul>
<p> <u><b>TS:<br>
</b></u></p>
<ul>
</ul>
<p><span style="font-weight: bold; text-decoration: underline;">DMMG:</span><br></p>
<ul><li>Added DMMGSetNullSpace()</li></ul>
<p><span style="font-weight: bold; text-decoration: underline;">SYS:</span></p>
<p><span style="font-weight: bold; text-decoration: underline;">Fortran:</span><br></p>
<p><br><span style="font-weight: bold; text-decoration: underline;">ExternalPackages:</span><br></p>
</ul>
</td>
</tr>
<tr>
<td width="100%" colspan="2">
<hr size="4" color="#FF5B5B"> </td>
</tr>
</tbody>
</table>
</body>
</html>
</body>
</html>
|