PCParametersInitialize#
Sets the base defaults for parameters in pc, updating a parameter’s current value when it matches its previously recorded default.
Synopsis#
#include "petscksp.h"
PetscErrorCode PCParametersInitialize(PC pc)
Logically collective
Input Parameter#
pc - the
PCobject
Notes#
The base defaults are the non-type-specific values established when the PC is created. A PCType constructor may subsequently replace them with type-specific defaults.
Developer Notes#
PCCreate() calls this routine to establish the base defaults. PCSetType() calls it before constructing a new PCType, so the recorded defaults associated with the previous type are replaced before the new type installs its own defaults.
Default tracking is based on value equality, not on whether a setter was called. Consequently, an explicitly assigned value that equals the recorded default may be updated when the type changes.
See Also#
KSP: Linear System Solvers, PC, PCApply(), PCDestroy(), PetscObjectParameterSetDefault()
Level#
developer
Location#
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages