petsc-3.14.5 2021-03-03
Report Typos and Errors

# DMStagStencilLocation

enumerated type denoted a location relative to an element in a DMStag grid

### Synopsis

    typedef enum {
    DMSTAG_NULL_LOCATION=0,
    DMSTAG_BACK_DOWN_LEFT,
    DMSTAG_BACK_DOWN,
    DMSTAG_BACK_DOWN_RIGHT,
    DMSTAG_BACK_LEFT,
    DMSTAG_BACK,
    DMSTAG_BACK_RIGHT,
    DMSTAG_BACK_UP_LEFT,
    DMSTAG_BACK_UP,
    DMSTAG_BACK_UP_RIGHT,
    DMSTAG_DOWN_LEFT,
    DMSTAG_DOWN,
    DMSTAG_DOWN_RIGHT,
    DMSTAG_LEFT,
    DMSTAG_ELEMENT,
    DMSTAG_RIGHT,
    DMSTAG_UP_LEFT,
    DMSTAG_UP,
    DMSTAG_UP_RIGHT,
    DMSTAG_FRONT_DOWN_LEFT,
    DMSTAG_FRONT_DOWN,
    DMSTAG_FRONT_DOWN_RIGHT,
    DMSTAG_FRONT_LEFT,
    DMSTAG_FRONT,
    DMSTAG_FRONT_RIGHT,
    DMSTAG_FRONT_UP_LEFT,
    DMSTAG_FRONT_UP,
    DMSTAG_FRONT_UP_RIGHT
    } DMStagStencilLocation;

The interpretation of these values is dimension-dependent.

### See Also

DMSTAG, DMStagStencil, DMStagGetLocationSlot()

### Level

beginner

### Location

src/dm/impls/stag/../../../../include/petscdmstag.h

### Examples

src/dm/impls/stag/tutorials/ex1.c.html
src/dm/impls/stag/tutorials/ex2.c.html
src/dm/impls/stag/tutorials/ex3.c.html
src/dm/impls/stag/tutorials/ex4.c.html
src/dm/impls/stag/tutorials/ex6.c.html
Index of all DMSTAG routines
Table of Contents for all manual pages
Index of all manual pages