PetscObjectParameterDeclarePtr#
declares a pointer-valued parameter inside a PetscObject together with a slot for its default No Fortran Support
Synopsis#
#include <petscsys.h>
PetscObjectParameterDeclarePtr(type, NAME)
Input Parameters#
type - the pointee type of the parameter, for example
PetscRealNAME - the name of the parameter, unquoted
Note#
Equivalent to PetscObjectParameterDeclare() but for pointer-valued parameters: declares type *NAME and type *default_##NAME so that PetscObjectParameterSetDefault() can record and propagate the default value.
See Also#
PetscObjectParameterDeclare(), PetscObjectParameterSetDefault(), PetscInitialize(), PetscFinalize(), PetscObject, SNESParametersInitialize()
Level#
developer
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages