DMPlexInsertBoundaryValuesFVM#
Reconstruct cell gradients and insert non-essential (e.g. outflow) boundary values into a local finite-volume solution vector.
Synopsis#
#include "petscdmplex.h"
PetscErrorCode DMPlexInsertBoundaryValuesFVM(DM dm, PetscFV fv, Vec locX, PetscReal time, Vec *locGradient)
Collective
Input Parameters#
Output Parameter#
locGradient - if non-
NULL, the local vector holding the reconstructed cell gradients
Note#
The caller receives ownership of *locGradient via DMGetLocalVector() and must return it with
DMRestoreLocalVector().
See Also#
DMPlex: Unstructured Grids, DM, DMPLEX, PetscFV, DMPlexInsertBoundaryValues(), DMPlexReconstructGradientsFVM()
Level#
developer
Location#
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages