Lines Matching refs:pre

1491 PetscErrorCode PetscOptionsFindPair(PetscOptions options, const char pre[], const char name[], cons…  in PetscOptionsFindPair()  argument
1501 …PetscCheck(!pre || !PetscUnlikely(pre[0] == '-'), PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Prefix ca… in PetscOptionsFindPair()
1507 if (pre && pre[0]) { in PetscOptionsFindPair()
1513 PetscCall(PetscStrncpy(ptr, pre, buf + sizeof(buf) - ptr)); in PetscOptionsFindPair()
1523 …_ARG_WRONG, "Invalid option '%s' obtained from pre='%s' and name='%s'", key, pre ? pre : "", name); in PetscOptionsFindPair()
1592 PETSC_EXTERN PetscErrorCode PetscOptionsFindPairPrefix_Private(PetscOptions options, const char pre in PetscOptionsFindPairPrefix_Private() argument
1599 …PetscCheck(!pre || pre[0] != '-', PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Prefix cannot begin with … in PetscOptionsFindPairPrefix_Private()
1605 if (pre && pre[0]) { in PetscOptionsFindPairPrefix_Private()
1611 PetscCall(PetscStrncpy(ptr, pre, sizeof(buf) - ((ptr == buf) ? 0 : 1))); in PetscOptionsFindPairPrefix_Private()
1621 …_ARG_WRONG, "Invalid option '%s' obtained from pre='%s' and name='%s'", key, pre ? pre : "", name); in PetscOptionsFindPairPrefix_Private()
1692 PetscErrorCode PetscOptionsReject(PetscOptions options, const char pre[], const char name[], const … in PetscOptionsReject() argument
1697 PetscCall(PetscOptionsHasName(options, pre, name, &flag)); in PetscOptionsReject()
1699 …PETSC_ERR_ARG_OUTOFRANGE, "Program has disabled option: -%s%s with %s", pre ? pre : "", name + 1, … in PetscOptionsReject()
1700 …MM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Program has disabled option: -%s%s", pre ? pre : "", name + 1); in PetscOptionsReject()
1764 PetscErrorCode PetscOptionsHasName(PetscOptions options, const char pre[], const char name[], Petsc… in PetscOptionsHasName() argument
1770 PetscCall(PetscOptionsFindPair(options, pre, name, &value, &flag)); in PetscOptionsHasName()
2404 PetscErrorCode PetscOptionsGetBool(PetscOptions options, const char pre[], const char name[], Petsc… in PetscOptionsGetBool() argument
2412 PetscCall(PetscOptionsFindPair(options, pre, name, &value, &flag)); in PetscOptionsGetBool()
2458 PetscErrorCode PetscOptionsGetBool3(PetscOptions options, const char pre[], const char name[], Pets… in PetscOptionsGetBool3() argument
2466 PetscCall(PetscOptionsFindPair(options, pre, name, &value, &flag)); in PetscOptionsGetBool3()
2516 PetscErrorCode PetscOptionsGetEList(PetscOptions options, const char pre[], const char opt[], const… in PetscOptionsGetEList() argument
2532 PetscCall(PetscOptionsGetString(options, pre, opt, svalue, len, &aset)); in PetscOptionsGetEList()
2545 …USER, "Unknown option \"%s\" for -%s%s. Available options: %s", svalue, pre ? pre : "", opt + 1, a… in PetscOptionsGetEList()
2584 PetscErrorCode PetscOptionsGetEnum(PetscOptions options, const char pre[], const char opt[], const … in PetscOptionsGetEnum() argument
2594 PetscCall(PetscOptionsGetEList(options, pre, opt, list, ntext, &tval, &fset)); in PetscOptionsGetEnum()
2633 PetscErrorCode PetscOptionsGetInt(PetscOptions options, const char pre[], const char name[], PetscI… in PetscOptionsGetInt() argument
2641 PetscCall(PetscOptionsFindPair(options, pre, name, &value, &flag)); in PetscOptionsGetInt()
2687 PetscErrorCode PetscOptionsGetMPIInt(PetscOptions options, const char pre[], const char name[], Pet… in PetscOptionsGetMPIInt() argument
2693 PetscCall(PetscOptionsGetInt(options, pre, name, &value, &flag)); in PetscOptionsGetMPIInt()
2731 PetscErrorCode PetscOptionsGetReal(PetscOptions options, const char pre[], const char name[], Petsc… in PetscOptionsGetReal() argument
2739 PetscCall(PetscOptionsFindPair(options, pre, name, &value, &flag)); in PetscOptionsGetReal()
2784 PetscErrorCode PetscOptionsGetScalar(PetscOptions options, const char pre[], const char name[], Pet… in PetscOptionsGetScalar() argument
2792 PetscCall(PetscOptionsFindPair(options, pre, name, &value, &flag)); in PetscOptionsGetScalar()
2851 PetscErrorCode PetscOptionsGetString(PetscOptions options, const char pre[], const char name[], cha… in PetscOptionsGetString() argument
2859 PetscCall(PetscOptionsFindPair(options, pre, name, &value, &flag)); in PetscOptionsGetString()
2898 PetscErrorCode PetscOptionsGetBoolArray(PetscOptions options, const char pre[], const char name[], … in PetscOptionsGetBoolArray() argument
2911 PetscCall(PetscOptionsFindPair(options, pre, name, &svalue, &flag)); in PetscOptionsGetBoolArray()
2961 PetscErrorCode PetscOptionsGetEnumArray(PetscOptions options, const char pre[], const char name[], … in PetscOptionsGetEnumArray() argument
2976 PetscCall(PetscOptionsFindPair(options, pre, name, &svalue, &flag)); in PetscOptionsGetEnumArray()
2987 …_COMM_SELF, PETSC_ERR_USER, "Unknown enum value '%s' for -%s%s", svalue, pre ? pre : "", name + 1); in PetscOptionsGetEnumArray()
3029 PetscErrorCode PetscOptionsGetIntArray(PetscOptions options, const char pre[], const char name[], P… in PetscOptionsGetIntArray() argument
3043 PetscCall(PetscOptionsFindPair(options, pre, name, &svalue, &flag)); in PetscOptionsGetIntArray()
3129 PetscErrorCode PetscOptionsGetRealArray(PetscOptions options, const char pre[], const char name[], … in PetscOptionsGetRealArray() argument
3142 PetscCall(PetscOptionsFindPair(options, pre, name, &svalue, &flag)); in PetscOptionsGetRealArray()
3186 PetscErrorCode PetscOptionsGetScalarArray(PetscOptions options, const char pre[], const char name[]… in PetscOptionsGetScalarArray() argument
3199 PetscCall(PetscOptionsFindPair(options, pre, name, &svalue, &flag)); in PetscOptionsGetScalarArray()
3252 PetscErrorCode PetscOptionsGetStringArray(PetscOptions options, const char pre[], const char name[]… in PetscOptionsGetStringArray() argument
3265 PetscCall(PetscOptionsFindPair(options, pre, name, &svalue, &flag)); in PetscOptionsGetStringArray()