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
|
<!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/220.html" />
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Documentation: Changes: 2.2.0</title>
</head>
<body bgcolor="#ffffff">
<div id="version" align=right><b>petsc-3.7.5 2017-01-01</b></div>
<div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.7.5 v3.7.5 docs/changes/220.html "><small>Report Typos and Errors</small></a></div>
<h1>Documentation: Changes: 2.2.0</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.2.0</a></h2>
</div>
<h4>General:</h4>
<ul>
<li>Changed petscengine.h to petscmatlab.h</li>
<li>
Changed PetscOptionsEList() to return the index of the string
selected by the user (error if user enters impossible string)
</li>
</ul>
<h4>Vec:</h4>
<ul>
<li>VecLoad() has a new argument giving the Vector type to be created</li>
</ul>
<h4>Mat:</h4>
<ul>
<li>
If you use MAT_SYMMETRIC as option for MatSetOption() you will likely
need to also use the option MAT_SYMMETRY_ETERNAL otherwise at the
next MatAssembly the matrix will likly lose the symmetry flag.
</li>
<li>Added MatISGetLocalMat() to allow preallocating the local matrix.</li></ul>
<h4>PC:</h4>
<h4>KSP:</h4>
<ul>
<li>changed unmodifiedGramSchmidt name to classicalGramSchmidt everywhere.</li>
<li>
Eliminated KSPGMRESIROrthogonalize() now have
KSPGMRESSetCGSRefinement() to decide when to use iterative refinement
</li>
<li>
The SLES object has been removed from PETSc. All of this options are
available via the KSP object. For example, -sles_view_binary
->ksp_view_binary, SLESCreate()->KSPCreate() The calling
sequences SLESSetUp(sles,b,x) should be replaced with
KSPSetRhs(ksp,b) KSPSetSolution(ksp,x) KSPSetUp(ksp). Similarly
SLESSolve(sles,b,x) should be replaced with KSPSetRhs(ksp,b)
KSPSetSolution(ksp,x) KSPSolve(ksp)
</li>
<li>removed its argument from KSPSolve. Obtain the number of iterations via KSPGetIterationNumber()</li>
</ul>
<h4>SNES:</h4>
<ul>
<li>
SNESSolve() no longer returns number of iterations, use
SNESGetIterationNumber() to get the number of iterations
required
</li>
</ul>
<h4>TS:</h4>
<h4>DMMG:</h4>
<ul>
<li>
Added support for -dmmg_galerkin and DMMGSetUseGalerkin() for
nonlinear problems (not sequential only)
</li>
</ul>
<h4>SYS:</h4>
<ul>
<li>added new PETSC_VIEWER_MATLAB for saving variables to Matlab .mat files</li>
<li>
eliminated PetscViewerXXXXType and PetscViewerXXXSetType() replaced
with PetscViewerFileType and PetscViewerSetFileType()
</li>
<li>
PETSC_BINARY_RDONLY,PETSC_BINARY_WRONLY,PETSC_BINARY_CREATE becomes
PETSC_FILE_RDONLY,PETSC_FILE_WRONLY,PETSC_FILE_CREATE
</li>
</ul>
<h4>Fortran:</h4>
<h4>ExternalPackages:</h4>
</div>
</body>
</html>
|