Lines Matching refs:currentvalue
641 …nst char text[], const char man[], const char *const *list, PetscEnum currentvalue, PetscEnum *val… in PetscOptionsEnum_Private() argument
653 …st_Private(PetscOptionsObject, opt, text, man, list, ntext, list[(int)currentvalue], &tval, &tflg)… in PetscOptionsEnum_Private()
688 …ject, const char opt[], const char text[], const char man[], PetscInt currentvalue, PetscInt *valu… in PetscOptionsInt_Private() argument
698 …k(currentvalue >= lb, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Current value %" PetscInt_FMT " … in PetscOptionsInt_Private()
699 …currentvalue <= ub, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Current value %" PetscInt_FMT " gr… in PetscOptionsInt_Private()
705 *(PetscInt *)amsopt->data = currentvalue; in PetscOptionsInt_Private()
707 PetscCall(PetscOptionsGetInt(options, prefix, opt, ¤tvalue, &wasset)); in PetscOptionsInt_Private()
708 if (wasset) *(PetscInt *)amsopt->data = currentvalue; in PetscOptionsInt_Private()
715 …FMT ">: %s (%s)\n", Prefix(prefix), opt + 1, wasset ? *value : currentvalue, currentvalue, text, M… in PetscOptionsInt_Private()
720 …t, const char opt[], const char text[], const char man[], PetscMPIInt currentvalue, PetscMPIInt *v… in PetscOptionsMPIInt_Private() argument
730 …PetscCheck(currentvalue >= lb, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Current value %d less t… in PetscOptionsMPIInt_Private()
731 …PetscCheck(currentvalue <= ub, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Current value %d greate… in PetscOptionsMPIInt_Private()
737 *(PetscMPIInt *)amsopt->data = currentvalue; in PetscOptionsMPIInt_Private()
739 PetscCall(PetscOptionsGetMPIInt(options, prefix, opt, ¤tvalue, &wasset)); in PetscOptionsMPIInt_Private()
740 if (wasset) *(PetscMPIInt *)amsopt->data = currentvalue; in PetscOptionsMPIInt_Private()
746 …ly %d>: %s (%s)\n", Prefix(prefix), opt + 1, wasset ? *value : currentvalue, currentvalue, text, M… in PetscOptionsMPIInt_Private()
750 …ct, const char opt[], const char text[], const char man[], const char currentvalue[], char value[]… in PetscOptionsString_Private() argument
764 PetscCall(PetscStrdup(currentvalue ? currentvalue : "", (char **)&amsopt->data)); in PetscOptionsString_Private()
768 …merly %s>: %s (%s)\n", Prefix(prefix), opt + 1, lset ? value : currentvalue, currentvalue, text, M… in PetscOptionsString_Private()
772 …ect, const char opt[], const char text[], const char man[], PetscReal currentvalue, PetscReal *val… in PetscOptionsReal_Private() argument
782 …PetscCheck(currentvalue >= lb, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Current value %g less t… in PetscOptionsReal_Private()
783 …etscCheck(currentvalue <= ub, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Current value %g greater… in PetscOptionsReal_Private()
789 *(PetscReal *)amsopt->data = currentvalue; in PetscOptionsReal_Private()
791 PetscCall(PetscOptionsGetReal(options, prefix, opt, ¤tvalue, &wasset)); in PetscOptionsReal_Private()
792 if (wasset) *(PetscReal *)amsopt->data = currentvalue; in PetscOptionsReal_Private()
799 …Prefix(prefix), opt + 1, wasset ? (double)*value : (double)currentvalue, (double)currentvalue, tex… in PetscOptionsReal_Private()
804 …t, const char opt[], const char text[], const char man[], PetscScalar currentvalue, PetscScalar *v… in PetscOptionsScalar_Private() argument
808 PetscCall(PetscOptionsReal(opt, text, man, currentvalue, value, set)); in PetscOptionsScalar_Private()
835 …st char ltext[], const char man[], PetscFunctionList list, const char currentvalue[], char value[]… in PetscOptionsFList_Private() argument
849 PetscCall(PetscStrdup(currentvalue ? currentvalue : "", (char **)&amsopt->data)); in PetscOptionsFList_Private()
854 …t->comm, stdout, Prefix(prefix), opt, ltext, man, list, currentvalue, lset ? value : currentvalue)… in PetscOptionsFList_Private()
862 …const char man[], const char *const *list, PetscInt ntext, const char currentvalue[], PetscInt *va… in PetscOptionsEList_Private() argument
876 PetscCall(PetscStrdup(currentvalue ? currentvalue : "", (char **)&amsopt->data)); in PetscOptionsEList_Private()
889 …hoose one of)", Prefix(prefix), opt + 1, lset ? list[*value] : currentvalue, currentvalue, ltext)); in PetscOptionsEList_Private()
964 …ect, const char opt[], const char text[], const char man[], PetscBool currentvalue, PetscBool *flg… in PetscOptionsBool_Private() argument
979 *(PetscBool *)amsopt->data = currentvalue; in PetscOptionsBool_Private()
984 const char *curvalue = PetscBools[currentvalue]; in PetscOptionsBool_Private()
991 …ct, const char opt[], const char text[], const char man[], PetscBool3 currentvalue, PetscBool3 *fl… in PetscOptionsBool3_Private() argument
1003 const char *curvalue = PetscBool3s[currentvalue]; in PetscOptionsBool3_Private()