File: 220.rst.txt

package info (click to toggle)
petsc 3.22.5%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 516,740 kB
  • sloc: ansic: 814,333; cpp: 50,948; python: 37,416; f90: 17,187; javascript: 3,493; makefile: 3,198; sh: 1,502; xml: 619; objc: 445; java: 13; csh: 1
file content (65 lines) | stat: -rw-r--r-- 2,090 bytes parent folder | download
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
==============
Changes: 2.2.0
==============

.. rubric:: General:

-  Changed petscengine.h to petscmatlab.h
-  Changed PetscOptionsEList() to return the index of the string
   selected by the user (error if user enters impossible string)

.. rubric:: Vec:

-  VecLoad() has a new argument giving the Vector type to be created

.. rubric:: Mat:

-  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.
-  Added MatISGetLocalMat() to allow preallocating the local matrix.

.. rubric:: PC:

.. rubric:: KSP:

-  changed unmodifiedGramSchmidt name to classicalGramSchmidt
   everywhere.
-  Eliminated KSPGMRESIROrthogonalize() now have
   KSPGMRESSetCGSRefinement() to decide when to use iterative
   refinement
-  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)
-  removed its argument from KSPSolve. Obtain the number of
   iterations via KSPGetIterationNumber()

.. rubric:: SNES:

-  SNESSolve() no longer returns number of iterations, use
   SNESGetIterationNumber() to get the number of iterations required

.. rubric:: TS:

.. rubric:: DMMG:

-  Added support for -dmmg_galerkin and DMMGSetUseGalerkin() for
   nonlinear problems (not sequential only)

.. rubric:: SYS:

-  added new PETSC_VIEWER_MATLAB for saving variables to MATLAB .mat
   files
-  eliminated PetscViewerXXXXType and PetscViewerXXXSetType()
   replaced with PetscViewerFileType and PetscViewerSetFileType()
-  PETSC_BINARY_RDONLY,PETSC_BINARY_WRONLY,PETSC_BINARY_CREATE
   becomes PETSC_FILE_RDONLY,PETSC_FILE_WRONLY,PETSC_FILE_CREATE

.. rubric:: Fortran:

.. rubric:: ExternalPackages: