PETSc version 3.17.0
Fix/Edit manual page

# DMPlexPointGlobalFieldRef

return read/write access to a field on a point in global array

### Synopsis

    #include "petscdmplex.h"
    PetscErrorCode DMPlexPointGlobalFieldRef(DM dm,PetscInt point,PetscInt field,PetscScalar *array,void *ptr)

Not Collective

### Input Parameters

| dm | - DM defining topological space
| point | - topological point
| field | - field number
| array | - array to index into

### Output Parameter

| ptr | - address of reference to point data, type generic so user can place in structure; returns NULL if global point is not owned

### See Also

DMGetLocalSection(), PetscSectionGetOffset(), PetscSectionGetDof(), DMPlexGetPointGlobal(), DMPlexPointLocalRef(), DMPlexPointGlobalRead()

### Level

intermediate

### Location

src/dm/impls/plex/plexpoint.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages