Lines Matching refs:eargs

664   const char *const *eargs = args;  in PetscOptionsInsertArgs()  local
669 PetscCall(PetscStrcasecmp(eargs[0], "-options_file", &isfile)); in PetscOptionsInsertArgs()
670 PetscCall(PetscStrcasecmp(eargs[0], "-options_file_yaml", &isfileyaml)); in PetscOptionsInsertArgs()
671 PetscCall(PetscStrcasecmp(eargs[0], "-options_string_yaml", &isstringyaml)); in PetscOptionsInsertArgs()
672 PetscCall(PetscStrcasecmp(eargs[0], "-prefix_push", &ispush)); in PetscOptionsInsertArgs()
673 PetscCall(PetscStrcasecmp(eargs[0], "-prefix_pop", &ispop)); in PetscOptionsInsertArgs()
674 PetscCall(PetscOptionsValidKey(eargs[0], &key)); in PetscOptionsInsertArgs()
676 eargs++; in PetscOptionsInsertArgs()
679 …PetscCheck(left > 1 && eargs[1][0] != '-', PETSC_COMM_SELF, PETSC_ERR_USER, "Missing filename for … in PetscOptionsInsertArgs()
680 PetscCall(PetscOptionsInsertFile(comm, options, eargs[1], PETSC_TRUE)); in PetscOptionsInsertArgs()
681 eargs += 2; in PetscOptionsInsertArgs()
684 …PetscCheck(left > 1 && eargs[1][0] != '-', PETSC_COMM_SELF, PETSC_ERR_USER, "Missing filename for … in PetscOptionsInsertArgs()
685 PetscCall(PetscOptionsInsertFileYAML(comm, options, eargs[1], PETSC_TRUE)); in PetscOptionsInsertArgs()
686 eargs += 2; in PetscOptionsInsertArgs()
689 …PetscCheck(left > 1 && eargs[1][0] != '-', PETSC_COMM_SELF, PETSC_ERR_USER, "Missing string for -o… in PetscOptionsInsertArgs()
690 PetscCall(PetscOptionsInsertStringYAML_Private(options, eargs[1], PETSC_OPT_CODE)); in PetscOptionsInsertArgs()
691 eargs += 2; in PetscOptionsInsertArgs()
695 …PetscCheck(eargs[1][0] != '-', PETSC_COMM_SELF, PETSC_ERR_USER, "Missing prefix for -prefix_push o… in PetscOptionsInsertArgs()
696 PetscCall(PetscOptionsPrefixPush(options, eargs[1])); in PetscOptionsInsertArgs()
697 eargs += 2; in PetscOptionsInsertArgs()
701 eargs++; in PetscOptionsInsertArgs()
705 if (left >= 2) PetscCall(PetscOptionsValidKey(eargs[1], &nextiskey)); in PetscOptionsInsertArgs()
707 … PetscCall(PetscOptionsSetValue_Private(options, eargs[0], NULL, NULL, PETSC_OPT_COMMAND_LINE)); in PetscOptionsInsertArgs()
708 eargs++; in PetscOptionsInsertArgs()
711 …PetscCall(PetscOptionsSetValue_Private(options, eargs[0], eargs[1], NULL, PETSC_OPT_COMMAND_LINE)); in PetscOptionsInsertArgs()
712 eargs += 2; in PetscOptionsInsertArgs()