petsc-3.13.6 2020-09-29
Report Typos and Errors

DMStagGetLocationDOF

Get number of DOF associated with a given point in a DMStag grid

Synopsis

PetscErrorCode DMStagGetLocationDOF(DM dm,DMStagStencilLocation loc,PetscInt *dof)
Not Collective

Input Parameters

dm - the DMStag object
loc - grid point (see DMStagStencilLocation)

Output Parameter

dof -the number of dof (components) living at loc in dm

See Also

DMSTAG, DMStagStencilLocation, DMStagStencil, DMDAGetDof()

Level

intermediate

Location

src/dm/impls/stag/stagstencil.c
Index of all DMSTAG routines
Table of Contents for all manual pages
Index of all manual pages