PETSc
General:
- PetscBagLoad() now requires you previously created and registered all the records in the PETSc bag
Logging:
config/configure.py:
IS:
PF:
Vec:
VecScatter:
Mat:
- Renamed MatNullSpaceAttach() to MatSetNullSpace()
- MatMult() no longer removes the nullspace set by MatSetNullSpace()
- Renamed MatMatMultTranspose() for C=A^T*B to MatTransposeMatMult()
- Added MatMatTransposeMult() for C=A*B^T
- Added MatRARt() for C=R*A*R^T
- Preallocation routines now automatically set MAT_NEW_NONZERO_ALLOCATION_ERR, if you intentionally preallocate less than necessary then use MatSetOption(mat,MAT_NEW_NONZERO_ALLOCATION_ERR,PETSC_FALSE) to disable the error generation.
- You MUST now call MatXXXSetPreallocation() or MatSetUp() on any matrix you create directly (not using DMCreateMatrix()) before calling MatSetValues(), MatSetValuesBlocked() etc.
- MatSetUpPreallocation() and MatPreallocated() are removed, use MatSetUp()
PC:
- Remove PCASASetDM(), use PCSetDM() instead.
KSP:
- KSPSetOperators() will automatically set the null space present on the input matrix
SNES:
- Added SNESLineSearchSetType()
- Removed newton solver specific SNESLineSearchCubic() and SNESLineSearchQuadratic() from petscsnes.h
TS:
- -ts_max_time changed to -ts_final_time
- TSDefaultComputeJacobian() and TSDefaultComputeJacobianColor() have been removed.
Configure TS to use coloring with SNESSetJacobian().
- Added TSROSW for Rosenbrock-W methods.
- Added a common, extensible system for adaptive controllers, see TSGetAdapt().
DM/DA:
- Added DMRedundant for managing globally coupled degrees of freedom.
- Removed DMCompositeAddArray(), use DMRedundantCreate() and DMCompositeAddDM().
-
Renamed DMGetMatrix(), DMGetInterpolation(), DMGetInjection(), and
DMGetColoring() to DMCreateMatrix(), etc for semantic consistency.
DMMG:
PetscViewer:
SYS:
AO:
Sieve:
Fortran:
- SNES line search type should be set by name with SNESLineSearchSetType rather than with SNESLineSearchSet