:orphan: # PetscOptionsInsertStringYAML Inserts YAML-formatted options into the options database from a string ## Synopsis ``` #include "petscsys.h" PetscErrorCode PetscOptionsInsertStringYAML(PetscOptions options, const char in_str[]) ``` Logically Collective ## Input Parameters - ***options -*** options database, use `NULL` for default global database - ***in_str -*** YAML-formatted string options ## See Also `PetscOptionsSetValue()`, `PetscOptionsView()`, `PetscOptionsHasName()`, `PetscOptionsGetInt()`, `PetscOptionsGetReal()`, `PetscOptionsGetString()`, `PetscOptionsGetIntArray()`, `PetscOptionsBool()`, `PetscOptionsName()`, `PetscOptionsBegin()`, `PetscOptionsEnd()`, `PetscOptionsHeadBegin()`, `PetscOptionsStringArray()`, `PetscOptionsRealArray()`, `PetscOptionsScalar()`, `PetscOptionsBoolGroupBegin()`, `PetscOptionsBoolGroup()`, `PetscOptionsBoolGroupEnd()`, `PetscOptionsFList()`, `PetscOptionsEList()`, `PetscOptionsInsertFile()`, `PetscOptionsInsertFileYAML()` ## Level intermediate ## Location src/sys/objects/optionsyaml.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/objects/optionsyaml.c) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)