petsc-3.14.6 2021-03-30
Report Typos and Errors

DMNetworkGetComponentVariableGlobalOffset

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

Synopsis

#include "petscdmnetwork.h"  
PetscErrorCode DMNetworkGetComponentVariableGlobalOffset(DM dm,PetscInt p,PetscInt compnum,PetscInt *offsetg)
Not Collective

Input Parameters

dm - The DMNetwork object
p - the edge/vertex point
compnum - component number

Output Parameters

offsetg - the global offset

See Also

DMNetworkGetVariableGlobalOffset(), DMNetworkGetComponentVariableOffset(), DMGetLocalVector(), DMNetworkSetComponentNumVariables()

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