petsc-3.7.3 2016-07-24
Report Typos and Errors

# DMNetworkGetVariableOffset

Get the offset for accessing the variable associated with the given vertex/edge from the local vector.

### Synopsis

    #include "petscdmnetwork.h"
    PetscErrorCode DMNetworkGetVariableOffset(DM dm,PetscInt p,PetscInt *offset)

Not Collective

### Input Parameters

| dm | - The DMNetwork object
| p | - the edge/vertex point

### Output Parameters

offset -the offset

### See Also

DMNetworkGetVariableGlobalOffset, DMGetLocalVector

Level:intermediate
Location: src/dm/impls/network/network.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages