Searched refs:wasset (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/sys/objects/ |
| H A D | aoptions.c | 692 PetscBool wasset; in PetscOptionsInt_Private() local 707 PetscCall(PetscOptionsGetInt(options, prefix, opt, ¤tvalue, &wasset)); in PetscOptionsInt_Private() 708 if (wasset) *(PetscInt *)amsopt->data = currentvalue; in PetscOptionsInt_Private() 710 PetscCall(PetscOptionsGetInt(options, prefix, opt, value, &wasset)); in PetscOptionsInt_Private() 711 …PetscCheck(!wasset || *value >= lb, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Newly set value %"… in PetscOptionsInt_Private() 712 …PetscCheck(!wasset || *value <= ub, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Newly set value %"… in PetscOptionsInt_Private() 713 if (set) *set = wasset; in PetscOptionsInt_Private() 715 …MT " : formerly %" PetscInt_FMT ">: %s (%s)\n", Prefix(prefix), opt + 1, wasset ? *value : current… in PetscOptionsInt_Private() 724 PetscBool wasset; in PetscOptionsMPIInt_Private() local 739 PetscCall(PetscOptionsGetMPIInt(options, prefix, opt, ¤tvalue, &wasset)); in PetscOptionsMPIInt_Private() [all …]
|