petsc-3.7.1 2016-05-15
Report Typos and Errors

# PetscOptionsTail

Ends a section of options begun with PetscOptionsHead() See, for example, KSPSetFromOptions_GMRES(). Collective on the communicator passed in PetscOptionsBegin() Many br

### Synopsis

    #include <petscoptions.h>
    PetscErrorCode PetscOptionsTail(void)

Many br

Notes: Must be between a PetscOptionsBegin()/PetscObjectOptionsBegin() and a PetscOptionsEnd() Many br

Must be preceded by a call to PetscOptionsHead() in the same function. Many br

This needs to be used only if the code below PetscOptionsTail() can be run ONLY once. Many brSee, for example, PCSetFromOptions_Composite(). This is a return(0) in it for early exit Many brfrom the function. Many br

This is only for use with the PETSc options GUI Many br

### See Also

PetscOptionsGetInt(), PetscOptionsGetReal(),
PetscOptionsHasName(), PetscOptionsGetIntArray(), PetscOptionsGetRealArray(), PetscOptionsBool(), Many brPetscOptionsName(), PetscOptionsBegin(), PetscOptionsEnd(), PetscOptionsHead(), Many brPetscOptionsStringArray(),PetscOptionsRealArray(), PetscOptionsScalar(), Many brPetscOptionsBoolGroupBegin(), PetscOptionsBoolGroup(), PetscOptionsBoolGroupEnd(), Many brPetscOptionsFList(), PetscOptionsEList(), PetscOptionsEnum() Many br

Level:intermediate
Location:src/sys/objects/../../../include/petscoptions.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/ts/examples/tutorials/ex11.c.html