petsc-3.10.5 2019-03-28
PetscOptionsInsertString
Inserts options into the database from a string
Synopsis
#include "petscsys.h"
PetscErrorCode PetscOptionsInsertString(PetscOptions options,const char in_str[])
Not Collective, but only processes that call this routine will set the options
included in the string
Input Parameter
in_str -string that contains options separated by blanks
Contributed by Boyana Norris
See Also
PetscOptionsSetValue(), PetscOptionsView(), PetscOptionsHasName(), PetscOptionsGetInt(),
PetscOptionsGetReal(), PetscOptionsGetString(), PetscOptionsGetIntArray(), PetscOptionsBool(),
PetscOptionsName(), PetscOptionsBegin(), PetscOptionsEnd(), PetscOptionsHead(),
PetscOptionsStringArray(),PetscOptionsRealArray(), PetscOptionsScalar(),
PetscOptionsBoolGroupBegin(), PetscOptionsBoolGroup(), PetscOptionsBoolGroupEnd(),
PetscOptionsFList(), PetscOptionsEList(), PetscOptionsInsertFile()
Level
intermediate
Location
src/sys/objects/options.c
Examples
src/ksp/ksp/examples/tutorials/ex1.c.html
src/snes/examples/tutorials/ex22.c.html
src/snes/examples/tutorials/ex56.c.html
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages