#include "petscsys.h" PetscErrorCode PetscOptionsDeprecated_Private(PetscOptionItems *PetscOptionsObject,const char oldname[],const char newname[],const char version[],const char info[])Prints a deprecation warning, unless an option is supplied to suppress.
Logically Collective
pre | - string to prepend to name or NULL | |
oldname | - the old, deprecated option | |
newname | - the new option, or NULL if option is purely removed | |
version | - a string describing the version of first deprecation, e.g. "3.9" | |
info | - additional information string, or NULL. |
-options_suppress_deprecated_warnings | - do not print deprecation warnings |