Changes: Development#
General:
Configure/Build:
Add
--with-openmp-kernels
Sys:
Deprecate
PetscOptionsRestoreViewer()
in favor ofPetscViewerDestroy()
Deprecate
PetscOptionsGetViewer()
, andPetscOptionsGetViewers()
in favor ofPetscOptionsCreateViewer()
andPetscOptionsCreateViewers()
Deprecate
PetscOptionsPushGetViewerOff()
,PetscOptionsPopGetViewerOff()
, andPetscOptionsGetViewerOff()
in favor ofPetscOptionsPushCreateViewerOff()
,PetscOptionsPopCreateViewerOff()
, andPetscOptionsGetCreateViewerOff()
Add
PetscObjectContainerCompose()
, andPetscObjectContainerQuery()
Add
size_t
argument toPetscMPIErrorString()
Event Logging:
PetscViewer:
Add
PetscShmgetAllocateArrayScalar()
,PetscShmgetDeallocateArrayScalar()
,PetscShmgetAllocateArrayInt()
, andPetscShmgetDeallocateArrayInt()
for Fortran
PetscDraw:
AO:
IS:
VecScatter / PetscSF:
PF:
Vec:
The
IS
passed toVecISAXPY()
,VecISCopy()
.VecISSet()
, andVecISShift()
must have the same communicator of the vectors usedMake
VecLock
API active in optimized modeVecNestSetSubVec()
andVecNestSetSubVecs()
now take references to input vectors rather than creating duplicates
PetscSection:
PetscPartitioner:
Mat:
MatCoarsen:
PC:
Add support in
PCFieldSplitSetFields()
including with-pc_fieldsplit_%d_fields fields
forMATNEST
, making it possible to utilize multiple levels ofPCFIELDSPLIT
withMATNEST
from the command lineAdd
PCCompositeSpecialSetAlphaMat()
API to use a matrix other than the identity in preconditioners based on an alternating direction iteration, e.g., setting \(M\) for \(P = (A + alpha M) M^{-1} (alpha M + B)\)Reuse the result of \(T = A_{00}^-1 A_{01}\) in
PCApply_FieldSplit_Schur
with-pc_fieldsplit_schur_fact_type full
Change the option database keys for coarsening for
PCGAMG
to use the prefix-pc_gamg_
, for example-pc_gamg_mat_coarsen_type
KSP:
Add support for
PETSC_DETERMINE
as an argument toKSPSetTolerances()
to set the parameter back to its initial value when the object’s type was setDeprecate
PETSC_DEFAULT
in favor ofPETSC_CURRENT
forKSPSetTolerances()
SNES:
Add support for
PETSC_DETERMINE
as an argument toSNESSetTolerances()
to set the parameter back to its initial value when the object’s type was setDeprecate
PETSC_DEFAULT
in favor ofPETSC_CURRENT
forSNESSetTolerances()
Add
DMAdaptorMonitor()
,DMAdaptorMonitorSet()
,DMAdaptorMonitorCancel()
,DMAdaptorMonitorSetFromOptions()
Add
DMAdaptorMonitorSize()
,DMAdaptorMonitorError()
,DMAdaptorMonitorErrorDraw()
,DMAdaptorMonitorErrorDrawLGCreate()
,DMAdaptorMonitorErrorDrawLG()
Add
DMAdaptorMonitorRegister()
,DMAdaptorMonitorRegisterAll()
,DMAdaptorMonitorRegisterDestroy()
Add
DMAdaptorGetCriterion()
andDMAdaptorSetCriterion()
SNESLineSearch:
TS:
Add Rosenbrock-W methods from [Ran15] with \(B_{PR}\) stability:
TSROSWR34PRW
,TSROSWR3PRL2
,TSROSWRODASPR
, andTSROSWRODASPR2
Add support for
PETSC_DETERMINE
as an argument toTSSetTolerances()
to set the parameter back to its initial value when the object’s type was setDeprecate
PETSC_DEFAULT
in favor ofPETSC_CURRENT
forTSSetTolerances()
Add support for
PETSC_DETERMINE
as an argument toTSSetMaxSteps()
andTSSetMaxTime()
Deprecate
PETSC_DEFAULT
in favor ofPETSC_CURRENT
forTSAdaptSetSafety()
Deprecate
PETSC_DEFAULT
in favor ofPETSC_CURRENT
forTSAdaptSetClip()
Deprecate
PETSC_DEFAULT
in favor ofPETSC_CURRENT
forTSAdaptSetStepLimits()
TAO:
Add support for
PETSC_DETERMINE
as an argument toTaoSetTolerances()
andTaoSetConstraintTolerances()
to set the parameter back to its initial value when the object’s type was setDeprecate
PETSC_DEFAULT
in favor ofPETSC_CURRENT
forTaoSetTolerances()
andTaoSetConstraintTolerances()
DM/DA:
Add
DMGetSparseLocalize()
andDMSetSparseLocalize()
Add
DMGeomModelRegister()
,DMGeomModelRegisterAll()
,DMGeomModelRegisterDestroy()
,DMSnapToGeomModel()
,DMSetSnapToGeomModel()
to support registering geometric models
DMSwarm:
DMPlex:
Add
DMLabelGetValueBounds()
Add
DMPlexOrientLabel()
Add an argument to
DMPlexLabelCohesiveComplete()
in order to change behavior at surface boundaryRemove
DMPlexSnapToGeomModel()
Add refinement argument to
DMPlexCreateHexCylinderMesh()
Now
DMPlexComputeBdIntegral()
takes one function per fieldAdd
DMPlexComputeL2FluxDiffVec()
andDMPlexComputeL2FluxDiffVecLocal()
Add
DMAdaptorSetType()
,DMAdaptorGetType()
,DMAdaptorRegister()
,DMAdaptorRegisterAll()
,DMAdaptorRegisterDestroy()
Add
DMAdaptorGetMixedSetupFunction()
andDMAdaptorSetMixedSetupFunction()
FE/FV:
DMNetwork:
DMStag:
DT:
Fortran:
Add
PETSC_NULL_ENUM
to be used instead ofPETSC_NULL_INTEGER
when a pointer to anenum
is expected in a PETSc function callAdd
PETSC_NULL_INTEGER_ARRAY
,PETSC_NULL_SCALAR_ARRAY
, andPETSC_NULL_REAL_ARRAY
for use instead ofPETSC_NULL_INTEGER
,PETSC_NULL_SCALAR
, andPETSC_NULL_REAL
when an array is expected in a PETSc function callAdd automatically generated interface definitions for most PETSc functions to detect illegal usage at compile time
Add
PetscObjectIsNull()
for users to check if a PETSc object isNULL
Change the PETSc Fortran API so that non-array values,
v
, passed to PETSc routines expecting arrays must be cast with[v]
in the calling sequence