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- Add `PETSCPYTHONPATH` to the generated `$PETSC_DIR/$PETSC_ARCH/lib/petsc/conf/petscvariables` file so it is available to users through the makefile system 13- Add `PETSCPYTHONPATH` to the generated `$PETSC_DIR/$PETSC_ARCH/lib/pkgconfig/PETSc.pc` file so it is available to users with 14 `PKG_CONFIG_PATH=$PETSC_DIR/$PETSC_ARCH/lib/pkgconfig pkg-config --variable=PETSCPYTHONPATH PETSc.pc` 15- Add `EXTRA_OPTIONS_INITIAL` to the test system, which prepends options 16 17```{rubric} Configure/Build: 18``` 19 20- Change `make sphinxhtml` in the `doc` directory to be `make docs` 21- Change `make docs` to put all its artifacts in `${PETSC_ARCH}-doc` instead of `doc` 22- Add support for `--download-xxx`, `--with-xxx`, and `-with-xxx-dir` for Python packages that install with pip. See `packages.py` 23- Change `make alletags` to `make etags` 24- Deactivate Fortran bindings of SuperLU_DIST and ExodusII by default, but they can still be built with the configure options `--with-superlu_dist-fortran-bindings` and `--with-exodusii-fortran-bindings`, respectively 25 26```{rubric} Sys: 27``` 28 29- Add `PETSC_E` 30 31- Deprecate `PetscSSEIsEnabled()` 32- Add `PetscBTCopy()` 33 34```{rubric} Event Logging: 35``` 36 37```{rubric} PetscViewer: 38``` 39 40- Add `PetscViewerHDF5SetCompress()` and `PetscViewerHDF5GetCompress()` 41 42```{rubric} PetscDraw: 43``` 44 45- Add `PetscDrawLGGetData()` 46 47```{rubric} AO: 48``` 49 50```{rubric} IS: 51``` 52 53```{rubric} VecScatter / PetscSF: 54``` 55 56```{rubric} PF: 57``` 58 59```{rubric} Vec: 60``` 61 62```{rubric} PetscSection: 63``` 64 65```{rubric} PetscPartitioner: 66``` 67 68```{rubric} Mat: 69``` 70 71- Add `MatConstantDiagonalGetConstant()` 72- Add `MatNullSpaceRemoveFn` type definition 73- Add `MatMFFDFn`, `MatMFFDiFn`, `MatMFFDiBaseFn`, and `MatMFFDCheckhFn` type definitions 74- Add `MatFDColoringFn` type definition 75- Add support for `-mat_mumps_icntl_15 1` with the companion function `MatMumpsSetBlk()` 76 77```{rubric} MatCoarsen: 78``` 79 80```{rubric} PC: 81``` 82 83- Add `PCMatApplyTranspose()` and `PCShellSetMatApplyTranspose()` 84- Remove `PC_ApplyMultiple` 85- Add `PCShellPSolveFn` 86- Add `PCModifySubMatricesFn` 87 88```{rubric} KSP: 89``` 90 91- Add `MatLMVMGetLastUpdate()` 92- Add `MatLMVMMultAlgorithm`, `MatLMVMSetMultAlgorithm()`, and `MatLMVMGetMultAlgorithm()` 93- Add `MatLMVMSymBroydenGetPhi()` and `MatLMVMSymBroydenSetPhi()` 94- Add `MatLMVMSymBadBroydenGetPsi()` and `MatLMVMSymBadBroydenSetPsi()` 95- Deprecate `KSP_CONVERGED_RTOL_NORMAL` in favor of `KSP_CONVERGED_RTOL_NORMAL_EQUATIONS` and `KSP_CONVERGED_ATOL_NORMAL` in favor of `KSP_CONVERGED_ATOL_NORMAL_EQUATIONS` 96- Add `KSPFlexibleSetModifyPC()` to provide a common API for setting the modification function for all flexible `KSP` methods 97- Add `KSPFlexibleModifyPCFn` function prototype 98- Change the function signature of the `destroy()` argument to `KSPSetConvergenceTest()` to `PetscCtxDestroyFn*`. If you provide custom destroy 99 functions to `KSPSetConvergenceTest()` you must change them to expect a `void **` argument and immediately dereference the input 100- Add `KSPPSolveFn` 101- Change `KSPMonitorResidualDraw()` to `KSPMonitorResidualView()` 102- Change `KSPMonitorTrueResidualDraw()` to `KSPMonitorTrueResidualView()` 103 104```{rubric} SNES: 105``` 106 107- Change `SNESTestJacobian()` to report the norms 108- Add `SNESNormSchedule` support to `SNESKSPONLY` 109 110```{rubric} SNESLineSearch: 111``` 112 113```{rubric} TS: 114``` 115 116- Add `TSSetRunSteps()` and `-ts_run_steps` for better control of restarted jobs 117- Add `-ts_monitor_solution_skip_initial` to skip first call to the solution monitor 118- Add `-ts_monitor_wall_clock_time` to display the elapsed wall-clock time for every step 119- Change `TSDiscGradIsGonzalez()`, `TSDiscGradUseGonzalez()` to `TSDiscGradSetType()`,`TSDiscGradGetType()` 120 121```{rubric} TAO: 122``` 123 124- Add `TaoBRGNSetRegularizationType()`, `TaoBRGNGetRegularizationType()` 125 126```{rubric} PetscRegressor: 127``` 128 129- Add new component to support regression and classification machine learning tasks: [](ch_regressor) 130- Add `PetscRegressor` type `PETSCREGRESSORLINEAR` for solving linear regression problems with optional regularization 131 132```{rubric} DM/DA: 133``` 134 135- Add `DMHasBound()`, `DM_BC_LOWER_BOUND` and `DM_BC_LOWER_BOUND` 136- Add `DMSetCellCoordinateField()` 137- Add ``localized`` argument to `DMSetCoordinateDisc()` and `DMCreateAffineCoordinates_Internal()` 138- Add `DMCreateGradientMatrix()` 139 140```{rubric} DMSwarm: 141``` 142 143- Add `DMSwarmProjectFields()` and `DMSwarmProjectGradientFields()` 144 145```{rubric} DMPlex: 146``` 147 148- Add `DMPlexGetTransform()`, `DMPlexSetTransform()`, `DMPlexGetSaveTransform()`, and `DMPlexSetSaveTransform()` 149- Add `DMPlexGetCoordinateMap()` and `DMPlexSetCoordinateMap()` 150- Add `DMPlexTransformCohesiveExtrudeGetUnsplit()` 151- Add `DMFieldCreateDefaultFaceQuadrature()` 152- Rename `DMPlexComputeResidual_Internal()` to `DMPlexComputeResidualForKey()` 153- Rename `DMPlexComputeJacobian_Internal()` to `DMPlexComputeJacobianByKey()` 154- Rename `DMPlexComputeJacobian_Action_Internal()` to `DMPlexComputeJacobianActionByKey()` 155- Rename `DMPlexComputeResidual_Hybrid_Internal()` to `DMPlexComputeResidualHybridByKey()` 156- Rename `DMPlexComputeJacobian_Hybrid_Internal()` to `DMPlexComputeJacobianHybridByKey()` 157- Add `DMPlexInsertBounds()` 158- Change argument order for `DMPlexComputeBdResidualSingle()` and `DMPlexComputeBdJacobianSingle()` to match domain functions 159- Add `DMPlexComputeBdResidualSingleByKey()` and `DMPlexComputeBdJacobianSingleByLabel()` 160- Add ``localized`` argument to `DMPlexCreateCoordinateSpace()` 161- Remove ``coordFunc`` argument from `DMPlexCreateCoordinateSpace()` 162- Change `DMPlexExtrude()` to take a label argument 163- Rename `DMPlexVecGetOrientedClosure_Internal()` to `DMPlexVecGetOrientedClosure()` 164 165```{rubric} FE/FV: 166``` 167 168- Add `PetscFEExpandFaceQuadrature()` 169- Add `PetscFECreateBrokenElement()` 170- Change `PetscFEIntegrateJacobian()` signature to allow rectangular operators 171 172```{rubric} DMNetwork: 173``` 174 175```{rubric} DMStag: 176``` 177 178```{rubric} DT: 179``` 180 181- Deprecate `PetscSimplePointFunc` in favor of `PetscSimplePointFn *` 182- Deprecate `PetscPointFunc` in favor of `PetscPointFn *` 183- Deprecate `PetscPointJac` in favor of `PetscPointJacFn *` 184- Deprecate `PetscBdPointFunc` in favor of `PetscBdPointFn *` 185- Deprecate `PetscBdPointJac` in favor of `PetscBdPointJacFn *` 186- Deprecate `PetscRiemannFunc` in favor of `PetscRiemannFn *` 187- Deprecate `PetscProbFunc` in favor of `PetscProbFn *` 188- Add `PetscDTCreateQuadratureByCell()` 189 190```{rubric} Fortran: 191``` 192 193- Add `PetscObjectNullify()` 194