File: 311.md.txt

package info (click to toggle)
petsc 3.23.1%2Bdfsg1-1exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 515,576 kB
  • sloc: ansic: 751,607; cpp: 51,542; python: 38,598; f90: 17,352; javascript: 3,493; makefile: 3,157; sh: 1,502; xml: 619; objc: 445; java: 13; csh: 1
file content (139 lines) | stat: -rw-r--r-- 3,715 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
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
# Changes: 3.11

```{rubric} General:
```

```{rubric} Configure/Build:
```

- Configure now supports Python 3.4+ in addition to Python 2.6+.

```{rubric} IS:
```

```{rubric} PetscDraw:
```

```{rubric} PF:
```

```{rubric} Vec:
```

```{rubric} VecScatter:
```

- Removed VecScatterCreateEmpty(MPI_Comm,VecScatter\*)
- Added a PetscSF implementation of VecScatter. One can enable it
  with -vecscatter_type sf

```{rubric} PetscSection:
```

```{rubric} Mat:
```

- MatRegisterBaseName() changed to MatRegisterRootName()
- Added -mat_mffd_complex to use complex number trick instead of
  differencing to evaluate product; requires real functions but
  complex configuration
- Added initial support for HDF5 files I/O, particularly MATLAB
  MAT-File Version 7.3, currently only for reading. See also
  documentation of MatLoad().

```{rubric} PC:
```

- PCGetSetUpFailedReason is now PCGetFailedReason()

```{rubric} KSP:
```

- KSP_DIVERGED_PCSETUP_FAILED replaced with KSP_DIVERGED_PC_FAILED
- Previously the KSP Chebyshev implementation always did one more
  iteration than requested. For example -ksp_max_it 2 resulted in 3
  Chebyshev iterations. This has been corrected. Due to this
  correction your solver may seem to converge more slowely than it
  previous has. Note that the multigrid solvers (PCMG, PCGAMG, PCML)
  used by default Chebyshev (with 3 actual steps) in their smoother,
  thus the multigrid solvers will now have seemingly different
  convergence rates since they will now use only 2 actual steps. To
  reproduce previous behavior change the number of smoother
  iterations to match the previous actual amount, this can be done
  with for example -mg_levels_ksp_max_it 3 (or
  -prefix_mg_levels_ksp_max_it 3 if the KSP object has a prefix).

```{rubric} SNES:
```

- Added SNESKSPTRANSPOSEONLY: a linear solver only SNES that solves
  the transposed linear system.

```{rubric} SNESLineSearch:
```

```{rubric} TS:
```

- Added TSADAPTHISTORY: a new TSAdapt implementation that follows a
  given time history, that can set with TSAdaptHistorySetHistory().
- Added TSTrajectoryGetVecs() to reconstructs states and time
  derivative vectors from a TSTrajectory.

```{rubric} TAO:
```

- Added extra void\* (context) pointer to the function prototype to
  be passed as user-defined update function to TaoSetUpdate().

```{rubric} DM/DA:
```

- Added DMStag and associated functions, for working with quantities
  on regular staggered grids, in a manner similar to the usage of
  DMDA for colocated quantities.
- Added DMLocalToGlobal() and DMLocalToGlobal()

```{rubric} DMPlex:
```

- Reorganized PetscDS handling completely in order to support
  multiple subdomains. DMSetDS() was removed in favor of
  DMSetField()+DMCreateDS().
- Added additional PetscSF\* return argument to DMPlexGetGatherDM()
  (made public) and DMPlexGetRedundantDM().

```{rubric} PetscViewer:
```

- Added new command line options to GLVis viewer, see
  PetscViewerGLVisOpen() manual page for details.

- PetscViewerHDF5{Has,Read,Write}Attribute():

  - take the input path as relative to the current (pushed) group
  - support not only dataset attributes but also group attributes
  - PetscViewerHDF5WriteAttribute() creates the group if it doesn't
    exist
  - PetscViewerHDF5HasAttribute() returns false if the parent path
    doesn’t exist instead of failing

- Added PetscViewerHDF5Has{Group,Object}()

- Added PetscViewerHDF5{Has,Write,Read}ObjectAttribute()

- PetscViewerHDF5OpenGroup() opens the root group (/) if none is
  pushed

```{rubric} SYS:
```

PetscOptionsGetViewer() takes a NULL or PetscOptions object as the
second argument.
.. rubric:: AO:

```{rubric} Sieve:
```

```{rubric} Fortran:
```