Lines Matching refs:PetscOptionsObject
35 PetscErrorCode PetscOptionsBegin_Private(PetscOptionItems PetscOptionsObject, MPI_Comm comm, const … in PetscOptionsBegin_Private() argument
41 if (!PetscOptionsObject->alreadyprinted) { in PetscOptionsBegin_Private()
43 …HelpPrintedCheck(PetscOptionsHelpPrintedSingleton, prefix, title, &PetscOptionsObject->alreadyprin… in PetscOptionsBegin_Private()
45 PetscOptionsObject->next = NULL; in PetscOptionsBegin_Private()
46 PetscOptionsObject->comm = comm; in PetscOptionsBegin_Private()
47 PetscOptionsObject->changedmethod = PETSC_FALSE; in PetscOptionsBegin_Private()
49 PetscCall(PetscStrallocpy(prefix, &PetscOptionsObject->prefix)); in PetscOptionsBegin_Private()
50 PetscCall(PetscStrallocpy(title, &PetscOptionsObject->title)); in PetscOptionsBegin_Private()
52 PetscCall(PetscOptionsHasHelp(PetscOptionsObject->options, &PetscOptionsObject->printhelp)); in PetscOptionsBegin_Private()
53 …if (ShouldPrintHelp(PetscOptionsObject)) PetscCall((*PetscHelpPrintf)(comm, "---------------------… in PetscOptionsBegin_Private()
60 PetscErrorCode PetscObjectOptionsBegin_Private(PetscObject obj, PetscOptionItems PetscOptionsObject) in PetscObjectOptionsBegin_Private() argument
66 PetscAssertPointer(PetscOptionsObject, 2); in PetscObjectOptionsBegin_Private()
68 PetscOptionsObject->object = obj; in PetscObjectOptionsBegin_Private()
69 PetscOptionsObject->alreadyprinted = obj->optionsprinted; in PetscObjectOptionsBegin_Private()
74 …PetscCall(PetscOptionsBegin_Private(PetscOptionsObject, obj->comm, obj->prefix, title, obj->mansec… in PetscObjectOptionsBegin_Private()
81 static PetscErrorCode PetscOptionItemCreate_Private(PetscOptionItems PetscOptionsObject, const char… in PetscOptionItemCreate_Private() argument
100 PetscOptionItem cur = PetscOptionsObject->next; in PetscOptionItemCreate_Private()
156 static PetscErrorCode PetscOptionsSAWsInput(PetscOptionItems PetscOptionsObject) in PetscOptionsSAWsInput() argument
158 PetscOptionItem next = PetscOptionsObject->next; in PetscOptionsSAWsInput()
170 …PetscOptionsObject->pprefix = PetscOptionsObject->prefix; /* SAWs will change this, so cannot pass… in PetscOptionsSAWsInput()
173 PetscCallSAWs(SAWs_Register, (dir, &PetscOptionsObject->title, 1, SAWs_READ, SAWs_STRING)); in PetscOptionsSAWsInput()
175 PetscCallSAWs(SAWs_Register, (dir, &PetscOptionsObject->pprefix, 1, SAWs_READ, SAWs_STRING)); in PetscOptionsSAWsInput()
251 next = PetscOptionsObject->next; in PetscOptionsSAWsInput()
259 if (changedmethod) PetscOptionsObject->count = -2; in PetscOptionsSAWsInput()
263 PetscOptionsObject->count = 0; //do not ask for same thing again in PetscOptionsSAWsInput()
324 static PetscErrorCode PetscOptionsGetFromTextInput(PetscOptionItems PetscOptionsObject) in PetscOptionsGetFromTextInput() argument
326 PetscOptionItem next = PetscOptionsObject->next; in PetscOptionsGetFromTextInput()
333 …PetscCall((*PetscPrintf)(PETSC_COMM_WORLD, "%s --------------------\n", PetscOptionsObject->title)… in PetscOptionsGetFromTextInput()
339 …PetscCall(PetscPrintf(PETSC_COMM_WORLD, "-%s%s: <", PetscOptionsObject->prefix ? PetscOptionsObjec… in PetscOptionsGetFromTextInput()
399 …PetscCall(PetscPrintf(PETSC_COMM_WORLD, "-%s%s: <", PetscOptionsObject->prefix ? PetscOptionsObjec… in PetscOptionsGetFromTextInput()
428 …tscPrintf(PETSC_COMM_WORLD, "-%s%s: <%d>: %s (%s) ", PetscOptionsObject->prefix ? PetscOptionsObje… in PetscOptionsGetFromTextInput()
434 …D, PETSC_ERR_ARG_OUTOFRANGE, "Argument: -%s%s %lld", PetscOptionsObject->prefix ? PetscOptionsObje… in PetscOptionsGetFromTextInput()
438 …LD, PETSC_ERR_ARG_OUTOFRANGE, "Argument: -%s%s %ld", PetscOptionsObject->prefix ? PetscOptionsObje… in PetscOptionsGetFromTextInput()
446 …tscPrintf(PETSC_COMM_WORLD, "-%s%s: <%g>: %s (%s) ", PetscOptionsObject->prefix ? PetscOptionsObje… in PetscOptionsGetFromTextInput()
467 …tscPrintf(PETSC_COMM_WORLD, "-%s%s: <%s>: %s (%s) ", PetscOptionsObject->prefix ? PetscOptionsObje… in PetscOptionsGetFromTextInput()
476 …tscPrintf(PETSC_COMM_WORLD, "-%s%s: <%s>: %s (%s) ", PetscOptionsObject->prefix ? PetscOptionsObje… in PetscOptionsGetFromTextInput()
485 …PetscCall(PetscFunctionListPrintTypes(PETSC_COMM_WORLD, stdout, PetscOptionsObject->prefix, next->… in PetscOptionsGetFromTextInput()
488 PetscOptionsObject->changedmethod = PETSC_TRUE; in PetscOptionsGetFromTextInput()
503 PetscErrorCode PetscOptionsEnd_Private(PetscOptionItems PetscOptionsObject) in PetscOptionsEnd_Private() argument
508 if (PetscOptionsObject->next) { in PetscOptionsEnd_Private()
509 if (!PetscOptionsObject->count) { in PetscOptionsEnd_Private()
511 PetscCall(PetscOptionsSAWsInput(PetscOptionsObject)); in PetscOptionsEnd_Private()
513 PetscCall(PetscOptionsGetFromTextInput(PetscOptionsObject)); in PetscOptionsEnd_Private()
518 PetscCall(PetscFree(PetscOptionsObject->title)); in PetscOptionsEnd_Private()
521 if (PetscOptionsObject->changedmethod) PetscOptionsObject->count = -2; in PetscOptionsEnd_Private()
523 PetscOptionsObject->alreadyprinted = PETSC_FALSE; in PetscOptionsEnd_Private()
524 if (PetscOptionsObject->object) PetscOptionsObject->object->optionsprinted = PETSC_TRUE; in PetscOptionsEnd_Private()
525 PetscOptionsObject->object = NULL; in PetscOptionsEnd_Private()
527 while ((next = PetscOptionsObject->next)) { in PetscOptionsEnd_Private()
535 if (PetscOptionsObject->prefix) { in PetscOptionsEnd_Private()
537 PetscCall(PetscStrlcat(option, PetscOptionsObject->prefix, sizeof(option))); in PetscOptionsEnd_Private()
601 PetscCall(PetscOptionsSetValue(PetscOptionsObject->options, option, value)); in PetscOptionsEnd_Private()
617 PetscOptionsObject->next = next->next; in PetscOptionsEnd_Private()
620 PetscCall(PetscFree(PetscOptionsObject->prefix)); in PetscOptionsEnd_Private()
621 PetscOptionsObject->next = NULL; in PetscOptionsEnd_Private()
641 PetscErrorCode PetscOptionsEnum_Private(PetscOptionItems PetscOptionsObject, const char opt[], cons… in PetscOptionsEnum_Private() argument
653 …PetscCall(PetscOptionsEList_Private(PetscOptionsObject, opt, text, man, list, ntext, list[(int)cur… in PetscOptionsEnum_Private()
660 PetscErrorCode PetscOptionsEnumArray_Private(PetscOptionItems PetscOptionsObject, const char opt[],… in PetscOptionsEnumArray_Private() argument
663 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsEnumArray_Private()
674 …PetscCall(PetscOptionsGetEnumArray(PetscOptionsObject->options, prefix, opt, list, value, n, set)); in PetscOptionsEnumArray_Private()
675 if (ShouldPrintHelp(PetscOptionsObject) && nin) { in PetscOptionsEnumArray_Private()
676 const MPI_Comm comm = PetscOptionsObject->comm; in PetscOptionsEnumArray_Private()
688 PetscErrorCode PetscOptionsInt_Private(PetscOptionItems PetscOptionsObject, const char opt[], const… in PetscOptionsInt_Private() argument
690 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsInt_Private()
691 const PetscOptions options = PetscOptionsObject->options; in PetscOptionsInt_Private()
700 if (!PetscOptionsObject->count) { in PetscOptionsInt_Private()
703 … PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_INT, &amsopt)); in PetscOptionsInt_Private()
714 if (ShouldPrintHelp(PetscOptionsObject)) { in PetscOptionsInt_Private()
715 …PetscCall((*PetscHelpPrintf)(PetscOptionsObject->comm, " -%s%s: <now %" PetscInt_FMT " : formerly… in PetscOptionsInt_Private()
720 PetscErrorCode PetscOptionsMPIInt_Private(PetscOptionItems PetscOptionsObject, const char opt[], co… in PetscOptionsMPIInt_Private() argument
722 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsMPIInt_Private()
723 const PetscOptions options = PetscOptionsObject->options; in PetscOptionsMPIInt_Private()
732 if (!PetscOptionsObject->count) { in PetscOptionsMPIInt_Private()
735 … PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_INT, &amsopt)); in PetscOptionsMPIInt_Private()
746 …if (ShouldPrintHelp(PetscOptionsObject)) PetscCall((*PetscHelpPrintf)(PetscOptionsObject->comm, " … in PetscOptionsMPIInt_Private()
750 PetscErrorCode PetscOptionsString_Private(PetscOptionItems PetscOptionsObject, const char opt[], co… in PetscOptionsString_Private() argument
752 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsString_Private()
759 if (!PetscOptionsObject->count) { in PetscOptionsString_Private()
762 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_STRING, &amsopt… in PetscOptionsString_Private()
766 PetscCall(PetscOptionsGetString(PetscOptionsObject->options, prefix, opt, value, len, &lset)); in PetscOptionsString_Private()
768 …if (ShouldPrintHelp(PetscOptionsObject)) PetscCall((*PetscHelpPrintf)(PetscOptionsObject->comm, " … in PetscOptionsString_Private()
772 PetscErrorCode PetscOptionsReal_Private(PetscOptionItems PetscOptionsObject, const char opt[], cons… in PetscOptionsReal_Private() argument
774 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsReal_Private()
775 const PetscOptions options = PetscOptionsObject->options; in PetscOptionsReal_Private()
784 if (!PetscOptionsObject->count) { in PetscOptionsReal_Private()
787 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_REAL, &amsopt)); in PetscOptionsReal_Private()
794 PetscCall(PetscOptionsGetReal(PetscOptionsObject->options, prefix, opt, value, &wasset)); in PetscOptionsReal_Private()
798 if (ShouldPrintHelp(PetscOptionsObject)) { in PetscOptionsReal_Private()
799 …PetscCall((*PetscHelpPrintf)(PetscOptionsObject->comm, " -%s%s: <now %g : formerly %g>: %s (%s)\n… in PetscOptionsReal_Private()
804 PetscErrorCode PetscOptionsScalar_Private(PetscOptionItems PetscOptionsObject, const char opt[], co… in PetscOptionsScalar_Private() argument
810 …PetscCall(PetscOptionsGetScalar(PetscOptionsObject->options, PetscOptionsObject->prefix, opt, valu… in PetscOptionsScalar_Private()
815 PetscErrorCode PetscOptionsName_Private(PetscOptionItems PetscOptionsObject, const char opt[], cons… in PetscOptionsName_Private() argument
817 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsName_Private()
822 if (!PetscOptionsObject->count) { in PetscOptionsName_Private()
825 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_BOOL, &amsopt)); in PetscOptionsName_Private()
830 PetscCall(PetscOptionsHasName(PetscOptionsObject->options, prefix, opt, flg)); in PetscOptionsName_Private()
831 …if (ShouldPrintHelp(PetscOptionsObject)) PetscCall((*PetscHelpPrintf)(PetscOptionsObject->comm, " … in PetscOptionsName_Private()
835 PetscErrorCode PetscOptionsFList_Private(PetscOptionItems PetscOptionsObject, const char opt[], con… in PetscOptionsFList_Private() argument
837 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsFList_Private()
844 if (!PetscOptionsObject->count) { in PetscOptionsFList_Private()
847 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, ltext, man, OPTION_FLIST, &amsopt… in PetscOptionsFList_Private()
852 PetscCall(PetscOptionsGetString(PetscOptionsObject->options, prefix, opt, value, len, &lset)); in PetscOptionsFList_Private()
854 …if (ShouldPrintHelp(PetscOptionsObject)) PetscCall(PetscFunctionListPrintTypes(PetscOptionsObject-… in PetscOptionsFList_Private()
862 PetscErrorCode PetscOptionsEList_Private(PetscOptionItems PetscOptionsObject, const char opt[], con… in PetscOptionsEList_Private() argument
864 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsEList_Private()
871 if (!PetscOptionsObject->count) { in PetscOptionsEList_Private()
874 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, ltext, man, OPTION_ELIST, &amsopt… in PetscOptionsEList_Private()
884 …PetscCall(PetscOptionsGetEList(PetscOptionsObject->options, prefix, opt, list, ntext, value, &lset… in PetscOptionsEList_Private()
886 if (ShouldPrintHelp(PetscOptionsObject)) { in PetscOptionsEList_Private()
887 const MPI_Comm comm = PetscOptionsObject->comm; in PetscOptionsEList_Private()
896 PetscErrorCode PetscOptionsBoolGroupBegin_Private(PetscOptionItems PetscOptionsObject, const char o… in PetscOptionsBoolGroupBegin_Private() argument
898 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsBoolGroupBegin_Private()
903 if (!PetscOptionsObject->count) { in PetscOptionsBoolGroupBegin_Private()
906 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_BOOL, &amsopt)); in PetscOptionsBoolGroupBegin_Private()
912 PetscCall(PetscOptionsGetBool(PetscOptionsObject->options, prefix, opt, flg, NULL)); in PetscOptionsBoolGroupBegin_Private()
913 if (ShouldPrintHelp(PetscOptionsObject)) { in PetscOptionsBoolGroupBegin_Private()
914 const MPI_Comm comm = PetscOptionsObject->comm; in PetscOptionsBoolGroupBegin_Private()
922 PetscErrorCode PetscOptionsBoolGroup_Private(PetscOptionItems PetscOptionsObject, const char opt[],… in PetscOptionsBoolGroup_Private() argument
924 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsBoolGroup_Private()
929 if (!PetscOptionsObject->count) { in PetscOptionsBoolGroup_Private()
932 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_BOOL, &amsopt)); in PetscOptionsBoolGroup_Private()
938 PetscCall(PetscOptionsGetBool(PetscOptionsObject->options, prefix, opt, flg, NULL)); in PetscOptionsBoolGroup_Private()
939 …if (ShouldPrintHelp(PetscOptionsObject)) PetscCall((*PetscHelpPrintf)(PetscOptionsObject->comm, " … in PetscOptionsBoolGroup_Private()
943 PetscErrorCode PetscOptionsBoolGroupEnd_Private(PetscOptionItems PetscOptionsObject, const char opt… in PetscOptionsBoolGroupEnd_Private() argument
945 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsBoolGroupEnd_Private()
950 if (!PetscOptionsObject->count) { in PetscOptionsBoolGroupEnd_Private()
953 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_BOOL, &amsopt)); in PetscOptionsBoolGroupEnd_Private()
959 PetscCall(PetscOptionsGetBool(PetscOptionsObject->options, prefix, opt, flg, NULL)); in PetscOptionsBoolGroupEnd_Private()
960 …if (ShouldPrintHelp(PetscOptionsObject)) PetscCall((*PetscHelpPrintf)(PetscOptionsObject->comm, " … in PetscOptionsBoolGroupEnd_Private()
964 PetscErrorCode PetscOptionsBool_Private(PetscOptionItems PetscOptionsObject, const char opt[], cons… in PetscOptionsBool_Private() argument
966 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsBool_Private()
973 if (!PetscOptionsObject->count) { in PetscOptionsBool_Private()
976 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_BOOL, &amsopt)); in PetscOptionsBool_Private()
981 PetscCall(PetscOptionsGetBool(PetscOptionsObject->options, prefix, opt, flg, &iset)); in PetscOptionsBool_Private()
983 if (ShouldPrintHelp(PetscOptionsObject)) { in PetscOptionsBool_Private()
986 …PetscCall((*PetscHelpPrintf)(PetscOptionsObject->comm, " -%s%s: <now %s : formerly %s> %s (%s)\n"… in PetscOptionsBool_Private()
991 PetscErrorCode PetscOptionsBool3_Private(PetscOptionItems PetscOptionsObject, const char opt[], con… in PetscOptionsBool3_Private() argument
993 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsBool3_Private()
1000 PetscCall(PetscOptionsGetBool3(PetscOptionsObject->options, prefix, opt, flg, &iset)); in PetscOptionsBool3_Private()
1002 if (ShouldPrintHelp(PetscOptionsObject)) { in PetscOptionsBool3_Private()
1005 …PetscCall((*PetscHelpPrintf)(PetscOptionsObject->comm, " -%s%s: <now %s : formerly %s> %s (%s)\n"… in PetscOptionsBool3_Private()
1010 PetscErrorCode PetscOptionsRealArray_Private(PetscOptionItems PetscOptionsObject, const char opt[],… in PetscOptionsRealArray_Private() argument
1012 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsRealArray_Private()
1020 if (!PetscOptionsObject->count) { in PetscOptionsRealArray_Private()
1025 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_REAL_ARRAY, &am… in PetscOptionsRealArray_Private()
1032 PetscCall(PetscOptionsGetRealArray(PetscOptionsObject->options, prefix, opt, value, n, set)); in PetscOptionsRealArray_Private()
1033 if (ShouldPrintHelp(PetscOptionsObject) && nin) { in PetscOptionsRealArray_Private()
1035 const MPI_Comm comm = PetscOptionsObject->comm; in PetscOptionsRealArray_Private()
1044 PetscErrorCode PetscOptionsScalarArray_Private(PetscOptionItems PetscOptionsObject, const char opt[… in PetscOptionsScalarArray_Private() argument
1046 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsScalarArray_Private()
1054 if (!PetscOptionsObject->count) { in PetscOptionsScalarArray_Private()
1059 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_SCALAR_ARRAY, &… in PetscOptionsScalarArray_Private()
1066 PetscCall(PetscOptionsGetScalarArray(PetscOptionsObject->options, prefix, opt, value, n, set)); in PetscOptionsScalarArray_Private()
1067 if (ShouldPrintHelp(PetscOptionsObject) && nin) { in PetscOptionsScalarArray_Private()
1069 const MPI_Comm comm = PetscOptionsObject->comm; in PetscOptionsScalarArray_Private()
1078 PetscErrorCode PetscOptionsIntArray_Private(PetscOptionItems PetscOptionsObject, const char opt[], … in PetscOptionsIntArray_Private() argument
1080 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsIntArray_Private()
1088 if (!PetscOptionsObject->count) { in PetscOptionsIntArray_Private()
1093 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_INT_ARRAY, &ams… in PetscOptionsIntArray_Private()
1100 PetscCall(PetscOptionsGetIntArray(PetscOptionsObject->options, prefix, opt, value, n, set)); in PetscOptionsIntArray_Private()
1101 if (ShouldPrintHelp(PetscOptionsObject) && nin) { in PetscOptionsIntArray_Private()
1103 const MPI_Comm comm = PetscOptionsObject->comm; in PetscOptionsIntArray_Private()
1112 PetscErrorCode PetscOptionsStringArray_Private(PetscOptionItems PetscOptionsObject, const char opt[… in PetscOptionsStringArray_Private() argument
1114 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsStringArray_Private()
1122 if (!PetscOptionsObject->count) { in PetscOptionsStringArray_Private()
1126 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_STRING_ARRAY, &… in PetscOptionsStringArray_Private()
1131 PetscCall(PetscOptionsGetStringArray(PetscOptionsObject->options, prefix, opt, value, nmax, set)); in PetscOptionsStringArray_Private()
1132 …if (ShouldPrintHelp(PetscOptionsObject) && nin) PetscCall((*PetscHelpPrintf)(PetscOptionsObject->c… in PetscOptionsStringArray_Private()
1136 PetscErrorCode PetscOptionsBoolArray_Private(PetscOptionItems PetscOptionsObject, const char opt[],… in PetscOptionsBoolArray_Private() argument
1138 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsBoolArray_Private()
1146 if (!PetscOptionsObject->count) { in PetscOptionsBoolArray_Private()
1151 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_BOOL_ARRAY, &am… in PetscOptionsBoolArray_Private()
1158 PetscCall(PetscOptionsGetBoolArray(PetscOptionsObject->options, prefix, opt, value, n, set)); in PetscOptionsBoolArray_Private()
1159 if (ShouldPrintHelp(PetscOptionsObject) && nin) { in PetscOptionsBoolArray_Private()
1161 const MPI_Comm comm = PetscOptionsObject->comm; in PetscOptionsBoolArray_Private()
1204 PetscErrorCode PetscOptionsViewer_Private(PetscOptionItems PetscOptionsObject, const char opt[], co… in PetscOptionsViewer_Private() argument
1206 const MPI_Comm comm = PetscOptionsObject->comm; in PetscOptionsViewer_Private()
1207 const char *prefix = PetscOptionsObject->prefix; in PetscOptionsViewer_Private()
1214 if (!PetscOptionsObject->count) { in PetscOptionsViewer_Private()
1217 …PetscCall(PetscOptionItemCreate_Private(PetscOptionsObject, opt, text, man, OPTION_STRING, &amsopt… in PetscOptionsViewer_Private()
1221 …PetscCall(PetscOptionsCreateViewer(comm, PetscOptionsObject->options, prefix, opt, viewer, format,… in PetscOptionsViewer_Private()
1222 …if (ShouldPrintHelp(PetscOptionsObject)) PetscCall((*PetscHelpPrintf)(comm, " -%s%s: <%s>: %s (%s… in PetscOptionsViewer_Private()