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 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 23```{rubric} Sys: 24``` 25 26- Deprecate `PetscSSEIsEnabled()` 27- Add `PetscBTCopy()` 28 29```{rubric} Event Logging: 30``` 31 32```{rubric} PetscViewer: 33``` 34 35- Add `PetscViewerHDF5SetCompress()` and `PetscViewerHDF5GetCompress()` 36 37```{rubric} PetscDraw: 38``` 39 40```{rubric} AO: 41``` 42 43```{rubric} IS: 44``` 45 46```{rubric} VecScatter / PetscSF: 47``` 48 49```{rubric} PF: 50``` 51 52```{rubric} Vec: 53``` 54 55```{rubric} PetscSection: 56``` 57 58```{rubric} PetscPartitioner: 59``` 60 61```{rubric} Mat: 62``` 63 64- Add `MatConstantDiagonalGetConstant()` 65- Add `MatNullSpaceRemoveFn` type definition 66- Add `MatMFFDFn`, `MatMFFDiFn`, `MatMFFDiBaseFn`, and `MatMFFDCheckhFn` type definitions 67- Add `MatFDColoringFn` type definition 68 69```{rubric} MatCoarsen: 70``` 71 72```{rubric} PC: 73``` 74 75- Add `PCMatApplyTranspose()` 76- Remove `PC_ApplyMultiple` 77- Add `PCShellPSolveFn` 78- Add `PCModifySubMatricesFn` 79 80```{rubric} KSP: 81``` 82 83- Add `MatLMVMGetLastUpdate()` 84- Add `MatLMVMMultAlgorithm`, `MatLMVMSetMultAlgorithm()`, and `MatLMVMGetMultAlgorithm()` 85- Add `MatLMVMSymBroydenGetPhi()` and `MatLMVMSymBroydenSetPhi()` 86- Add `MatLMVMSymBadBroydenGetPsi()` and `MatLMVMSymBadBroydenSetPsi()` 87- 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` 88- Add `KSPFlexibleSetModifyPC()` to provide a common API for setting the modification function for all flexible `KSP` methods 89- Add `KSPFlexibleModifyPCFn` function prototype 90- Change the function signature of the `destroy()` argument to `KSPSetConvergenceTest()` to `PetscCtxDestroyFn*`. If you provide custom destroy 91 functions to `KSPSetConvergenceTest()` you must change them to expect a `void **` argument and immediately dereference the input 92- Add `KSPPSolveFn` 93 94```{rubric} SNES: 95``` 96 97- Change `SNESTestJacobian()` to report the norms 98 99```{rubric} SNESLineSearch: 100``` 101 102```{rubric} TS: 103``` 104 105```{rubric} TAO: 106``` 107 108- Add ``TaoBRGNSetRegularizationType()``, ``TaoBRGNGetRegularizationType()`` 109 110```{rubric} PetscRegressor: 111``` 112 113- Add new component to support regression and classification machine learning tasks: [](ch_regressor) 114- Add `PetscRegressor` type `PETSCREGRESSORLINEAR` for solving linear regression problems with optional regularization 115 116```{rubric} DM/DA: 117``` 118 119- Add `DMHasBound()`, `DM_BC_LOWER_BOUND` and `DM_BC_LOWER_BOUND` 120 121 122```{rubric} DMSwarm: 123``` 124 125```{rubric} DMPlex: 126``` 127 128- Add `DMPlexGetTransform()`, `DMPlexSetTransform()`, `DMPlexGetSaveTransform()`, and `DMPlexSetSaveTransform()` 129- Add `DMPlexGetCoordinateMap()` and `DMPlexSetCoordinateMap()` 130- Add `DMPlexTransformCohesiveExtrudeGetUnsplit()` 131- Add `DMFieldCreateDefaultFaceQuadrature()` 132- Rename `DMPlexComputeResidual_Internal()` to `DMPlexComputeResidualForKey()` 133- Rename `DMPlexComputeJacobian_Internal()` to `DMPlexComputeJacobianByKey()` 134- Rename `DMPlexComputeJacobian_Action_Internal()` to `DMPlexComputeJacobianActionByKey()` 135- Rename `DMPlexComputeResidual_Hybrid_Internal()` to `DMPlexComputeResidualHybridByKey()` 136- Rename `DMPlexComputeJacobian_Hybrid_Internal()` to `DMPlexComputeJacobianHybridByKey()` 137- Add `DMPlexInsertBounds()` 138- Change argument order for `DMPlexComputeBdResidualSingle()` and `DMPlexComputeBdJacobianSingle()` to match domain functions 139- Add `DMPlexComputeBdResidualSingleByKey()` and `DMPlexComputeBdJacobianSingleByLabel()` 140 141```{rubric} FE/FV: 142``` 143 144- Add `PetscFEExpandFaceQuadrature()` 145 146```{rubric} DMNetwork: 147``` 148 149```{rubric} DMStag: 150``` 151 152```{rubric} DT: 153``` 154 155- Deprecate `PetscSimplePointFunc` in favor of `PetscSimplePointFn *` 156- Deprecate `PetscPointFunc` in favor of `PetscPointFn *` 157- Deprecate `PetscPointJac` in favor of `PetscPointJacFn *` 158- Deprecate `PetscBdPointFunc` in favor of `PetscBdPointFn *` 159- Deprecate `PetscBdPointJac` in favor of `PetscBdPointJacFn *` 160- Deprecate `PetscRiemannFunc` in favor of `PetscRiemannFn *` 161- Deprecate `PetscProbFunc` in favor of `PetscProbFn *` 162 163```{rubric} Fortran: 164``` 165 166- Add `PetscObjectNullify()` 167