File: 220.md.txt

package info (click to toggle)
petsc 3.24.1%2Bdfsg1-1exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 524,004 kB
  • sloc: ansic: 762,842; cpp: 52,564; python: 39,546; f90: 17,688; javascript: 3,493; makefile: 3,206; sh: 1,508; xml: 619; objc: 445; java: 13; csh: 1
file content (74 lines) | stat: -rw-r--r-- 2,073 bytes parent folder | download | duplicates (2)
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
# 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:
```