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```{rubric} SNESLineSearch: 98``` 99 100```{rubric} TS: 101``` 102 103```{rubric} TAO: 104``` 105 106- Add ``TaoBRGNSetRegularizationType()``, ``TaoBRGNGetRegularizationType()`` 107 108```{rubric} PetscRegressor: 109``` 110 111- Add new component to support regression and classification machine learning tasks: [](ch_regressor) 112- Add `PetscRegressor` type `PETSCREGRESSORLINEAR` for solving linear regression problems with optional regularization 113 114```{rubric} DM/DA: 115``` 116 117- Add `DMHasBound()`, `DM_BC_LOWER_BOUND` and `DM_BC_LOWER_BOUND` 118 119 120```{rubric} DMSwarm: 121``` 122 123```{rubric} DMPlex: 124``` 125 126- Add `DMPlexGetTransform()`, `DMPlexSetTransform()`, `DMPlexGetSaveTransform()`, and `DMPlexSetSaveTransform()` 127- Add `DMPlexGetCoordinateMap()` and `DMPlexSetCoordinateMap()` 128- Add `DMPlexTransformCohesiveExtrudeGetUnsplit()` 129- Add `DMFieldCreateDefaultFaceQuadrature()` 130- Rename `DMPlexComputeResidual_Internal()` to `DMPlexComputeResidualForKey()` 131- Rename `DMPlexComputeJacobian_Internal()` to `DMPlexComputeJacobianByKey()` 132- Rename `DMPlexComputeJacobian_Action_Internal()` to `DMPlexComputeJacobianActionByKey()` 133- Rename `DMPlexComputeResidual_Hybrid_Internal()` to `DMPlexComputeResidualHybridByKey()` 134- Rename `DMPlexComputeJacobian_Hybrid_Internal()` to `DMPlexComputeJacobianHybridByKey()` 135- Add `DMPlexInsertBounds()` 136 137```{rubric} FE/FV: 138``` 139 140- Add `PetscFEExpandFaceQuadrature()` 141 142```{rubric} DMNetwork: 143``` 144 145```{rubric} DMStag: 146``` 147 148```{rubric} DT: 149``` 150 151- Deprecate `PetscSimplePointFunc` in favor of `PetscSimplePointFn *` 152- Deprecate `PetscPointFunc` in favor of `PetscPointFn *` 153- Deprecate `PetscPointJac` in favor of `PetscPointJacFn *` 154- Deprecate `PetscBdPointFunc` in favor of `PetscBdPointFn *` 155- Deprecate `PetscBdPointJac` in favor of `PetscBdPointJacFn *` 156- Deprecate `PetscRiemannFunc` in favor of `PetscRiemannFn *` 157- Deprecate `PetscProbFunc` in favor of `PetscProbFn *` 158 159```{rubric} Fortran: 160``` 161 162- Add `PetscObjectNullify()` 163