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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
|
<!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/21.html" />
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Documentation: Changes: 2.1.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/21.html "><small>Report Typos and Errors</small></a></div>
<h1>Documentation: Changes: 2.1.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</a> in PETSc 2.1.0 (see new <a href="#Features">features</a>)</h2>
</div>
<h4>General:</h4>
<ul>
<li>
Simpler interface for structured grids, see
src/snes/examples/tutorials/ex5.c
</li>
<li>
"System routines" including PLog..., Options..., Viewer...,
Draw...., FList...,OList... now all begin with the string Petsc. For
example, PetscOptionsGetInt() and PetscLogDefaultBegin().
</li>
<li>
The calling sequence for PetscMalloc() was changed to return and error
code and deliver the pointer as a new final argument. Due to this
change, the macros CHKPTRA() and CHKPTRQ() were dropped.
</li>
</ul>
<h4>AO (Application Orderings):</h4>
<h4>TS (Timestepping Solvers):</h4>
<h4>SNES (Nonlinear Solvers):</h4>
<h4>SLES (Linear Solvers):</h4>
<h4>KSP (Krylov Subspace Methods):</h4>
<h4>PC (Preconditioners):</h4>
<h4>MAT (Matrices):</h4>
<ul>
<li>
When using MatCreate(), you must follow with a MatSetType() or
MatSetFromOptions() before using the matrix.
</li>
<li>
Changed <code>int
MatShellSetOperation(Mat,MatOperation,void*);</code> to <code>int
MatShellSetOperation(Mat,MatOperation,void(*)());</code>
</li>
<li>
Changed <code>int
MatShellGetOperation(Mat,MatOperation,void**);</code> to <code>int
MatShellGetOperation(Mat,MatOperation,void(**)());</code>
</li>
<li>Changed IncompleteCholesky to ICC</li>
</ul>
<h4>DA (Distributed Arrays):</h4>
<ul>
<li>Changed the DAMG routines to DMMG routines.</li>
<li>
DAGetColoring() now has new second argument that takes either
IS_COLORING_GLOBAL or IS_COLOR_GLOBAL and a new third argument that
takes the matrix type of either MATMPIAIJ or MATMPIBAIJ.
</li>
</ul>
<h4>VEC (Vectors):</h4>
<ul>
<li>
Changed <code>int VecSetOperation(Vec,VecOperation,void*);</code> to
<code>int VecSetOperation(Vec,VecOperation,void(*)());</code>
</li>
</ul>
<h4>IS (Index Sets):</h4>
<h4>General:</h4>
<h4>Draw (Graphics):</h4>
<h4>Viewers:</h4>
<h4>System:</h4>
<h4>Error Handling:</h4>
<ul>
<li>
CHKERRA() is now obselete; use CHKERRQ() instead. Changed the calling
sequence of SETERRQ() to eliminate the second input parameter.
</li>
</ul>
<h4>Event Logging:</h4>
<h4>Fortran Interface:</h4>
<div align="center">
<h2>New <a name="Features">features</a> in PETSc 2.1.0 (see <a href="#CHANGES">changes</a> above)</h2>
</div>
<h4>General:</h4>
<ul>
<li>Simpler interface for structured grids, see src/snes/examples/tutorials/ex5.c</li>
<li>
Complete infrastructure for parallel multigrid for linear and
nonlinear problems on structured grids. See
src/snes/examples/tutorials/ex19.c
</li>
<li>Added manual pages for PETSc objects, enums etc.</li>
<li>
Added html version of all source code and examples, accessable from
docs/index.html and the manual pages.
</li>
</ul>
<h4>AO (Application Orderings):</h4>
<h4>TS (Timestepping Solvers):</h4>
<h4>SNES (Nonlinear Solvers):</h4>
<h4>SLES (Linear Solvers):</h4>
<h4>KSP (Krylov Subspace Methods):</h4>
<ul>
<li>
Added support for "diagonal scaling" of preconditioned
system as required by most ODE integrators via
PCDiagonalScaleSet().
</li>
</ul>
<h4>PC (Preconditioners):</h4>
<h4>MAT (Matrices):</h4>
<ul>
<li>
Added the Henry Tufo/Paul Fischer libtfs scalable parallel direct
solver for MPIAIJ matrices.
</li>
<li>Added routine MatFDColoringSetRecompute().</li>
</ul>
<h4>DA (Distributed Arrays):</h4>
<ul>
<li>
Added DAVecGetArray() to access the multidimensional arrays directly in
the global parallel indexing. See src/snes/examples/tutorials/ex5.c and
ex19.c
</li>
<li>
Add DAGetLocalVector()/DARestoreLocalVector() for inexpensive access
to local work vectors.
</li>
</ul>
<h4>VEC (Vectors):</h4>
<ul>
<li>Added DMComposite routines to help with PDE optimization and multicomponent PDEs.</li>
</ul>
<h4>IS (Index Sets):</h4>
<h4>PF:</h4>
<h4>Draw (Graphics):</h4>
<h4>Viewers:</h4>
<h4>System:</h4>
<h4>Error Handling:</h4>
<h4>Event Logging:</h4>
<h4>Fortran Interface:</h4>
</div>
</body>
</html>
|