Home
last modified time | relevance | path

Searched refs:eoptions (Results 1 – 1 of 1) sorted by relevance

/petsc/src/sys/objects/
H A Doptions.c841 char *eoptions = NULL; in PetscOptionsInsert() local
875 eoptions = getenv("PETSC_OPTIONS"); in PetscOptionsInsert()
876 PetscCall(PetscStrlen(eoptions, &len)); in PetscOptionsInsert()
880 if (rank) PetscCall(PetscMalloc1(len + 1, &eoptions)); in PetscOptionsInsert()
881 PetscCallMPI(MPI_Bcast(eoptions, (PetscMPIInt)len, MPI_CHAR, 0, comm)); in PetscOptionsInsert()
882 if (rank) eoptions[len] = 0; in PetscOptionsInsert()
883 PetscCall(PetscOptionsInsertString_Private(options, eoptions, PETSC_OPT_ENVIRONMENT)); in PetscOptionsInsert()
884 if (rank) PetscCall(PetscFree(eoptions)); in PetscOptionsInsert()
889 eoptions = getenv("PETSC_OPTIONS_YAML"); in PetscOptionsInsert()
890 PetscCall(PetscStrlen(eoptions, &len)); in PetscOptionsInsert()
[all …]