xref: /petsc/doc/changes/dev.md (revision e6aa7a3b58de511b7893b99d70d9918118eb1ba8)
1# Changes: Development
2
3% STYLE GUIDELINES:
4% * Capitalize sentences
5% * Use imperative, e.g., Add, Improve, Change, etc.
6% * Don't use a period (.) at the end of entries
7% * If multiple sentences are needed, use a period or semicolon to divide sentences, but not at the end of the final sentence
8
9```{rubric} General:
10```
11
12```{rubric} Configure/Build:
13```
14
15- Make `SYCL` a `devicePackage`, i.e., builds `--with-sycl` now have `PETSC_HAVE_DEVICE` defined
16- Add the option `--with-devicelanguage` to compile `PetscDevice` code using either a C or C++ compiler
17
18```{rubric} Sys:
19```
20
21```{rubric} Event Logging:
22```
23
24```{rubric} PetscViewer:
25```
26
27-  Change the final argument of `PetscViewerGLVisSetFields()` to `PetscCtxDestroyFn *`. This means the destroy function must dereference the argument before operating on it
28
29```{rubric} PetscDraw:
30```
31
32```{rubric} AO:
33```
34
35```{rubric} IS:
36```
37
38```{rubric} VecScatter / PetscSF:
39```
40
41```{rubric} PF:
42```
43
44```{rubric} Vec:
45```
46
47```{rubric} PetscSection:
48```
49
50```{rubric} PetscPartitioner:
51```
52
53```{rubric} Mat:
54```
55
56```{rubric} MatCoarsen:
57```
58
59```{rubric} PC:
60```
61
62- Add multi-precision support for MUMPS. One could use `-pc_precision <single, double>` to set the precision to be used by MUMPS, which can be different from `PetscScalar`'s precision
63
64```{rubric} KSP:
65```
66
67- Remove `KSPHPDDMPrecision` in favor of `PetscPrecision`
68
69```{rubric} SNES:
70```
71
72```{rubric} SNESLineSearch:
73```
74
75```{rubric} TS:
76```
77
78```{rubric} TAO:
79```
80
81```{rubric} PetscRegressor:
82```
83
84```{rubric} DM/DA:
85```
86
87-  Change the final argument of `DMShellSetDestroyContext()` to `PetscCtxDestroyFn *`. This means the destroy function must dereference the argument before operating on it
88
89```{rubric} DMSwarm:
90```
91
92```{rubric} DMPlex:
93```
94
95```{rubric} FE/FV:
96```
97
98```{rubric} DMNetwork:
99```
100
101```{rubric} DMStag:
102```
103
104```{rubric} DT:
105```
106
107```{rubric} Fortran:
108```
109