PETSc version 3.15.5
DMNetworkGetGlobalVecOffset
Get the global offset for accessing the variables associated with a component for the given vertex/edge from the global vector 
Synopsis
#include "petscdmnetwork.h"  
PetscErrorCode DMNetworkGetGlobalVecOffset(DM dm,PetscInt p,PetscInt compnum,PetscInt *offsetg)
Not Collective
Input Parameters
|  | dm | - the DMNetwork object | 
|  | p | - the edge/vertex point | 
|  | compnum | - component number; use ALL_COMPONENTS if no specific component is requested | 
Output Parameters
|  | offsetg | - the global offset | 
See Also
 DMNetworkGetLocalVecOffset(), DMGetGlobalVector(), DMNetworkGetComponent()
Level
intermediate
Location
src/dm/impls/network/network.c
Index of all DMNetwork routines
Table of Contents for all manual pages
Index of all manual pages